WebLogic Messaging API Class Library |

# ExceptionEventHandler Delegate

Exception handler event delegate. If JMS detects a serious problem with an `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.

`IConnection` object that provides feedback regarding exception condition `ExceptionEventArgs` generated by JMS
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