Class SdkExceptionHandler
java.lang.Object
com.rabbitmq.client.impl.ForgivingExceptionHandler
com.rabbitmq.client.impl.StrictExceptionHandler
com.rabbitmq.client.impl.DefaultExceptionHandler
com.sportradar.unifiedodds.sdk.internal.impl.rabbitconnection.SdkExceptionHandler
- All Implemented Interfaces:
com.rabbitmq.client.ExceptionHandler
public class SdkExceptionHandler
extends com.rabbitmq.client.impl.DefaultExceptionHandler
-
Constructor Summary
ConstructorsConstructorDescriptionSdkExceptionHandler(SdkConnectionStatusListener connectionStatusListener, String token) -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleBlockedListenerException(com.rabbitmq.client.Connection connection, Throwable throwable) voidhandleChannelRecoveryException(com.rabbitmq.client.Channel channel, Throwable throwable) voidhandleConfirmListenerException(com.rabbitmq.client.Channel channel, Throwable throwable) voidhandleConnectionRecoveryException(com.rabbitmq.client.Connection connection, Throwable throwable) voidhandleConsumerException(com.rabbitmq.client.Channel channel, Throwable throwable, com.rabbitmq.client.Consumer consumer, String s, String s1) voidhandleReturnListenerException(com.rabbitmq.client.Channel channel, Throwable throwable) voidhandleTopologyRecoveryException(com.rabbitmq.client.Connection connection, com.rabbitmq.client.Channel channel, com.rabbitmq.client.TopologyRecoveryException e) voidhandleUnexpectedConnectionDriverException(com.rabbitmq.client.Connection connection, Throwable throwable) Methods inherited from class com.rabbitmq.client.impl.StrictExceptionHandler
handleChannelKiller, handleChannelKillerMethods inherited from class com.rabbitmq.client.impl.ForgivingExceptionHandler
handleConnectionKiller, log
-
Constructor Details
-
SdkExceptionHandler
-
-
Method Details
-
handleUnexpectedConnectionDriverException
public void handleUnexpectedConnectionDriverException(com.rabbitmq.client.Connection connection, Throwable throwable) - Specified by:
handleUnexpectedConnectionDriverExceptionin interfacecom.rabbitmq.client.ExceptionHandler- Overrides:
handleUnexpectedConnectionDriverExceptionin classcom.rabbitmq.client.impl.ForgivingExceptionHandler
-
handleReturnListenerException
- Specified by:
handleReturnListenerExceptionin interfacecom.rabbitmq.client.ExceptionHandler- Overrides:
handleReturnListenerExceptionin classcom.rabbitmq.client.impl.StrictExceptionHandler
-
handleConfirmListenerException
public void handleConfirmListenerException(com.rabbitmq.client.Channel channel, Throwable throwable) - Specified by:
handleConfirmListenerExceptionin interfacecom.rabbitmq.client.ExceptionHandler- Overrides:
handleConfirmListenerExceptionin classcom.rabbitmq.client.impl.StrictExceptionHandler
-
handleBlockedListenerException
public void handleBlockedListenerException(com.rabbitmq.client.Connection connection, Throwable throwable) - Specified by:
handleBlockedListenerExceptionin interfacecom.rabbitmq.client.ExceptionHandler- Overrides:
handleBlockedListenerExceptionin classcom.rabbitmq.client.impl.StrictExceptionHandler
-
handleConsumerException
public void handleConsumerException(com.rabbitmq.client.Channel channel, Throwable throwable, com.rabbitmq.client.Consumer consumer, String s, String s1) - Specified by:
handleConsumerExceptionin interfacecom.rabbitmq.client.ExceptionHandler- Overrides:
handleConsumerExceptionin classcom.rabbitmq.client.impl.StrictExceptionHandler
-
handleConnectionRecoveryException
public void handleConnectionRecoveryException(com.rabbitmq.client.Connection connection, Throwable throwable) - Specified by:
handleConnectionRecoveryExceptionin interfacecom.rabbitmq.client.ExceptionHandler- Overrides:
handleConnectionRecoveryExceptionin classcom.rabbitmq.client.impl.ForgivingExceptionHandler
-
handleChannelRecoveryException
public void handleChannelRecoveryException(com.rabbitmq.client.Channel channel, Throwable throwable) - Specified by:
handleChannelRecoveryExceptionin interfacecom.rabbitmq.client.ExceptionHandler- Overrides:
handleChannelRecoveryExceptionin classcom.rabbitmq.client.impl.ForgivingExceptionHandler
-
handleTopologyRecoveryException
public void handleTopologyRecoveryException(com.rabbitmq.client.Connection connection, com.rabbitmq.client.Channel channel, com.rabbitmq.client.TopologyRecoveryException e) - Specified by:
handleTopologyRecoveryExceptionin interfacecom.rabbitmq.client.ExceptionHandler- Overrides:
handleTopologyRecoveryExceptionin classcom.rabbitmq.client.impl.ForgivingExceptionHandler
-