|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExceptionHandler
Interface to an exception-handling object.
Method Summary | |
---|---|
void |
handleConfirmListenerException(Channel channel,
java.lang.Throwable exception)
Perform any required exception processing for the situation when the driver thread for the connection has called a ConfirmListener's handleAck or handleNack method, and that method has thrown an exception. |
void |
handleConsumerException(Channel channel,
java.lang.Throwable exception,
Consumer consumer,
java.lang.String consumerTag,
java.lang.String methodName)
Perform any required exception processing for the situation when the driver thread for the connection has called a method on a Consumer, and that method has thrown an exception. |
void |
handleFlowListenerException(Channel channel,
java.lang.Throwable exception)
Perform any required exception processing for the situation when the driver thread for the connection has called a FlowListener's handleFlow method, and that method has thrown an exeption. |
void |
handleReturnListenerException(Channel channel,
java.lang.Throwable exception)
Perform any required exception processing for the situation when the driver thread for the connection has called a ReturnListener's handleReturn method, and that method has thrown an exception. |
void |
handleUnexpectedConnectionDriverException(Connection conn,
java.lang.Throwable exception)
Perform any required exception processing for the situation when the driver thread for the connection has an exception signalled to it that it can't otherwise deal with. |
Method Detail |
---|
void handleUnexpectedConnectionDriverException(Connection conn, java.lang.Throwable exception)
conn
- the Connection that caught the exceptionexception
- the exception caught in the driver threadvoid handleReturnListenerException(Channel channel, java.lang.Throwable exception)
channel
- the ChannelN that held the ReturnListenerexception
- the exception thrown by ReturnListener.handleReturnvoid handleFlowListenerException(Channel channel, java.lang.Throwable exception)
channel
- the ChannelN that held the FlowListenerexception
- the exception thrown by FlowListener.handleFlowvoid handleConfirmListenerException(Channel channel, java.lang.Throwable exception)
channel
- the ChannelN that held the ConfirmListenerexception
- the exception thrown by ConfirmListener.handleAckvoid handleConsumerException(Channel channel, java.lang.Throwable exception, Consumer consumer, java.lang.String consumerTag, java.lang.String methodName)
channel
- the ChannelN that held the Consumerexception
- the exception thrown by the Consumerconsumer
- the Consumer that caused the faultconsumerTag
- the Consumer's consumerTagmethodName
- the name of the method on the Consumer that threw the exception
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |