Package com.microsoft.azure.eventhubs
Class ReceiverDisconnectedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microsoft.azure.eventhubs.EventHubException
-
- com.microsoft.azure.eventhubs.ReceiverDisconnectedException
-
- All Implemented Interfaces:
Serializable
public class ReceiverDisconnectedException extends EventHubException
This exception is thrown when a EventHubReceiver is being disconnected because of one of the following reason:- user attempts to connect a non-epoch receiver to a event hub partition, when there is an epoch receiver connected to the partition.
- you are using an epoch receiver for a given partition but another epoch receiver with a higher epoch value connects to the same partition.
-
-
Constructor Summary
Constructors Constructor Description ReceiverDisconnectedException(String message)
-
Method Summary
-
Methods inherited from class com.microsoft.azure.eventhubs.EventHubException
getContext, getIsTransient, getMessage, setContext
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ReceiverDisconnectedException
public ReceiverDisconnectedException(String message)
-
-