Packagecom.kaazing.gateway.jms.client
Classpublic class ExceptionListenerAdapter
ImplementsExceptionListener

The ExceptionListenerAdapter is a convenience call to create and pass a ExceptionListener to set connection.exceptionListener. This convenience class implements the ExceptionListener interface with an individual named or anonymous function. Example: function (e:Error):void { trace(e.message); }



Public Methods
 MethodDefined by
  
ExceptionListenerAdapter(exceptionListener:Function)
Creates a new ExceptionListenerAdapter to implement the ExceptionListener interface.
ExceptionListenerAdapter
  
Called when an exception is raised to the Connection.
ExceptionListenerAdapter
Constructor detail
ExceptionListenerAdapter()constructor
public function ExceptionListenerAdapter(exceptionListener:Function)

Creates a new ExceptionListenerAdapter to implement the ExceptionListener interface. Anonymous or named functions can be passed to implement onException without creating an additional class.

Parameters
exceptionListener:Function
Method detail
onException()method
public function onException(e:JMSException):void

Called when an exception is raised to the Connection. See ConnectionListener.onException and Connection.exceptionListener.

Parameters
e:JMSException