Connection object, it informs the Connection object's ExceptionListener, if one has been registered.
More...
#include <javax_jms_ExceptionListener.h>
Inheritance diagram for javax::jms::ExceptionListener:


Public Types | |
| enum | { xmogDefaultFlags = xmog_base::GLOBAL, xmogMajorVersion = 3, xmogMinorVersion = 2, xmogPatchVersion = 9, xmogBuildNumber = 2047 } |
|
typedef ::xmog_java_array_template< ::javax::jms::ExceptionListener > | array1D |
|
typedef ::xmog_java_array_template< ::xmog_java_array_template< ::javax::jms::ExceptionListener > > | array2D |
Public Member Functions | |
| virtual void | onException (const ::javax::jms::JMSException &exception,::xmog_localenv *p_xenv=NULL, xmog_flags f_xflags=xmogDefaultFlags) |
| Notifies user of a JMS exception. | |
Connection object, it informs the Connection object's ExceptionListener, if one has been registered.
It does this by calling the listener's onException method, passing it a JMSException argument describing the problem.
An exception listener allows a client to be notified of a problem asynchronously. Some connections only consume messages, so they would have no other way to learn that their connection has failed.
A JMS provider should attempt to resolve connection problems itself before it notifies the client of them.
Rich Burridge
|
||||||||||||||||
|
Notifies user of a JMS exception.
|
1.4.1