[TIBCO.EMS .NET client library 8.1 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Note::
Use either ExceptionHandler or ExceptionListener
to handle exceptions, but not both. Setting up both will cause
the exception to be handled more than once which can result in undefined
behavior.
Get and set the exception event listener
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public IExceptionListener ExceptionListener { get; set; } |
Public Property ExceptionListener As IExceptionListener |
public: property IExceptionListener^ ExceptionListener { IExceptionListener^ get (); void set (IExceptionListener^ value); } |
Remarks
This is an alternate pathway for alerting a client program of connection problems. The program implements the exception listener interface, and registers an exception listener object by setting this property. When the client library detects a connection problem, it calls the listener's onException method with an exception argument that details the problem.

Exceptions
Exception | Condition |
---|---|
TIBCO.EMS..::.IllegalStateException | If the connection is closed |