activemq-cpp-3.9.0
|
If a CMS provider detects a serious problem, it notifies the client application through an ExceptionListener
that is registered with the Connection
.
More...
#include <src/main/cms/ExceptionListener.h>
Public Member Functions | |
virtual | ~ExceptionListener () |
virtual void | onException (const cms::CMSException &ex)=0 |
Called when an exception occurs. More... | |
If a CMS provider detects a serious problem, it notifies the client application through an ExceptionListener
that is registered with the Connection
.
An exception listener allows a client to be notified of a problem asynchronously. Some connections only consume messages via the asynchronous event mechanism so they would have no other way to learn that their connection has failed.
|
virtual |
|
pure virtual |
Called when an exception occurs.
Once notified of an exception the caller should no longer use the resource that generated the exception.
ex | Exception Object that occurred. |