| Package | com.kaazing.gateway.jms.client |
| Class | public class ExceptionListenerAdapter |
| Implements | ExceptionListener |
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); }
| Method | Defined by | ||
|---|---|---|---|
|
ExceptionListenerAdapter(exceptionListener:Function)
Creates a new
ExceptionListenerAdapter to implement the ExceptionListener interface. | ExceptionListenerAdapter | ||
|
onException(e:JMSException):void
Called when an exception is raised to the Connection.
| ExceptionListenerAdapter | ||
| 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.
exceptionListener:Function |
| onException | () | method |
public function onException(e:JMSException):void
Called when an exception is raised to the Connection. See ConnectionListener.onException and
Connection.exceptionListener.
e:JMSException |