|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.rabbitmq.client.impl.DefaultExceptionHandler
public class DefaultExceptionHandler
| Constructor Summary | |
|---|---|
DefaultExceptionHandler()
|
|
| Method Summary | |
|---|---|
protected void |
handleChannelKiller(Channel channel,
java.lang.Throwable exception,
java.lang.String what)
|
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 handleBasicReturn 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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultExceptionHandler()
| Method Detail |
|---|
public void handleUnexpectedConnectionDriverException(Connection conn,
java.lang.Throwable exception)
ExceptionHandler
handleUnexpectedConnectionDriverException in interface ExceptionHandlerconn - the Connection that caught the exceptionexception - the exception caught in the driver thread
public void handleReturnListenerException(Channel channel,
java.lang.Throwable exception)
ExceptionHandler
handleReturnListenerException in interface ExceptionHandlerchannel - the ChannelN that held the ReturnListenerexception - the exception thrown by ReturnListener.handleBasicReturn
public void handleFlowListenerException(Channel channel,
java.lang.Throwable exception)
ExceptionHandler
handleFlowListenerException in interface ExceptionHandlerchannel - the ChannelN that held the FlowListenerexception - the exception thrown by FlowListener.handleFlow
public void handleConsumerException(Channel channel,
java.lang.Throwable exception,
Consumer consumer,
java.lang.String consumerTag,
java.lang.String methodName)
ExceptionHandler
handleConsumerException in interface ExceptionHandlerchannel - 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
protected void handleChannelKiller(Channel channel,
java.lang.Throwable exception,
java.lang.String what)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||