|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.jms.JMSException
weblogic.jms.common.JMSException
weblogic.jms.extensions.ConsumerClosedException
public final class ConsumerClosedException
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.
| Constructor Summary | |
|---|---|
ConsumerClosedException(MessageConsumer consumer,
String reason)
Constructs a ConsumerClosedException that includes the reason
for exception. |
|
ConsumerClosedException(MessageConsumer consumer,
String reason,
String errorCode)
Constructs a ConsumerClosedException that includes a reason and an errorCode
for exception. |
|
| 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, isInformational, setLinkedException |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ConsumerClosedException(MessageConsumer consumer,
String reason,
String errorCode)
ConsumerClosedException that includes a reason and an errorCode
for exception.
reason - a description of the exception.errorCode - a string specifying the vendor specific
error code.
public ConsumerClosedException(MessageConsumer consumer,
String reason)
ConsumerClosedException that includes the reason
for exception.
reason - the description of the exception.| Method Detail |
|---|
public MessageConsumer getConsumer()
public void setConsumer(MessageConsumer consumer)
|
Because this information documents a Tech Preview of a BEA product, it may be incomplete and is subject to change. Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/essex/TechPreview Copyright 2007 BEA Systems Inc. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||