WebLogic Messaging API Class Library

ExceptionEventHandler Delegate

Exception handler event delegate. If a JMS provider detects a serious problem with a IConnection object, it informs the IConnection object's ExceptionEventHandler, if one has been registered. It does this by calling the listener's method, passing it a MessageException argument describing the problem.

An exception listener allows a client to be notified of a problem asynchronously. Some connections only consume messages, so they would have no other way to learn that their connection has failed.

para>

A JMS provider should attempt to resolve connection problems itself before it notifies the client of them.

Object Connection object that provides feedback regarding exception conditionExceptionEventArgs generated by JMS provider
public delegate void ExceptionEventHandler(
   IConnection sender,
   ExceptionEventArgs args
);

Requirements

Namespace: WebLogic.Messaging

Assembly: WebLogic.Messaging (in WebLogic.Messaging.dll)

See Also

WebLogic.Messaging Namespace | Exception