Class ExceptionListener

If a JMS provider detects a serious problem with a Connection object, it informs the Connection object's ExceptionListener, if one has been registered. It does this by passing the listener 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.


Constructor Summary
ExceptionListener(callback)
            If a JMS provider detects a serious problem with a Connection object, it informs the Connection object's ExceptionListener, if one has been registered.
 
Method Summary
 void onException(exception)
           Notifies user of a JMS exception.
 
Constructor Detail

ExceptionListener

ExceptionListener(callback)

Method Detail

onException

void onException(exception)