Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.jms.extensions
Class ConsumerClosedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.jms.JMSException
              extended by weblogic.jms.common.JMSException
                  extended by weblogic.jms.extensions.ConsumerClosedException

All Implemented Interfaces:
Serializable

public final class ConsumerClosedException
extends JMSException

ConsumerClosedException is delivered to the ExceptionListener for a session (if set), when one of session's consumer is closed by the server as a result of a server failure or administrative intervention.

See Also:
Serialized Form

Method Summary
 MessageConsumer getConsumer()
          Gets the reference to the consumer that was closed
 void setConsumer(MessageConsumer consumer)
          Sets a reference to the consumer that was closed.

 

Methods inherited from class weblogic.jms.common.JMSException
getLinkedException, setLinkedException

 

Methods inherited from class javax.jms.JMSException
getErrorCode

 

Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

 

Method Detail

getConsumer

public MessageConsumer getConsumer()
Gets the reference to the consumer that was closed
Returns:
the reference to the consumer that was closed

setConsumer

public void setConsumer(MessageConsumer consumer)
Sets a reference to the consumer that was closed.

Skip navigation links

Copyright 1996, 2015, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09