Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.springframework.jms.connection
Class ChainedExceptionListener

    java.lang.Object
      org.springframework.jms.connection.ChainedExceptionListener

All Implemented Interfaces:
  javax.jms.ExceptionListener

    public class ChainedExceptionListener

extends java.lang.Object
implements javax.jms.ExceptionListener

Implementation of the JMS ExceptionListener interface that supports chaining, allowing the addition of multiple ExceptionListener instances in order.

Since:
  2.0
Author:
  Juergen Hoeller

Constructor Summary
`ChainedExceptionListener()`

Method Summary
`void` | `addDelegate(javax.jms.ExceptionListener listener)` Add an ExceptionListener to the chained delegate list.
`javax.jms.ExceptionListener[]` | `getDelegates()` Return all registered ExceptionListener delegates (as array).
`void` | `onException(javax.jms.JMSException ex)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ChainedExceptionListener

    public ChainedExceptionListener()

Method Detail

### addDelegate

    public final void addDelegate(javax.jms.ExceptionListener listener)

  Add an ExceptionListener to the chained delegate list.

### getDelegates

    public final javax.jms.ExceptionListener[] getDelegates()

  Return all registered ExceptionListener delegates (as array).

### onException

    public void onException(javax.jms.JMSException ex)

  Specified by:
    `onException` in interface `javax.jms.ExceptionListener`

Overview | Package | Class | Tree | Deprecated | Index | Help
| Spring Framework
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD