Inherits java::lang::Exception.
List of all members.
Detailed Description
Generic exception. It may be raised when instantiating a Publisher or Subscriber through the factory class PubSubFactory or thrown whenever there is a problem in the underlying JMS communication. In this case the ExceptionListener is called passing to the onException method the MOMException with the corresponding exception code.
- Version:
- 0.9.0 21 Nov 2000
- Author:
- Controls Middleware Project
- See also:
- PubSubFactory
-
ExceptionListener
Constructor & Destructor Documentation
cern.cmw.mom.pubsub.MOMException.MOMException |
( |
|
) |
|
cern.cmw.mom.pubsub.MOMException.MOMException |
( |
String |
s |
) |
|
Creates a MOMException setting the text.
- Parameters:
-
| s | the String value of the text |
cern.cmw.mom.pubsub.MOMException.MOMException |
( |
String |
s, |
|
|
int |
code | |
|
) |
| | |
Creates a MOMException setting the text and the exception code.
- Parameters:
-
| s | the String value of the text |
| code | the exception code |
Member Function Documentation
boolean cern.cmw.mom.pubsub.MOMException.testException |
( |
int |
code |
) |
|
Member Data Documentation
Field CONNECTION_RECOVERED. A MOMException with testException(MOMException.CONNECTION_RECOVERED) == true means that a reconnection to the broker has been detected.
The documentation for this class was generated from the following file: