Interface
Asynchronously detect problems with connections.
When a program uses a connection to send messages, the send calls can detect problems with the connection, and notify the client program by throwing exceptions. However, when a program uses a connection only to receive messages, the client cannot catch such exceptions.
This interface provides an alternate pathway for alerting a client program of connection problems. The program implements this interface, and registers an exception listener with the connection object. When the client library detects a connection problem, it calls the listener’s onException
method with an exception argument that details the problem.
IExceptionListener
mimics the way in which JMS detects this type of problem in a Java programming idiom. In contrast, EMSExceptionHandler
provides similar functionality in a .NET idiom. Programmers may select either idiombut not both (which would cause duplicate exception processing, with undefined behavior).
TIBCO Enterprise Message Service™ .NET Reference System Release 4.3, February 2006 Copyright © TIBCO Software Inc. All rights reserved www.tibco.com |