new ExceptionListener()
Creates an ExceptionListener object used to receive asynchronously
delivered exceptions.
Method Summary
- onException
- Notifies user of a JMSException.
Method Detail
-
onException(exception)
-
Notifies user of a JMSException. Exceptions may be due to a number of different reasons and/or caused by different APIs. See JMSException#getErrorCode for a list of known exception error codes.
Parameters:
Name Type Description exception
JMSException notified to the listener.