Class SessionLockLostException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.microsoft.azure.servicebus.primitives.ServiceBusException
-
- com.microsoft.azure.servicebus.primitives.SessionLockLostException
-
- All Implemented Interfaces:
Serializable
public class SessionLockLostException extends ServiceBusException
This exception is thrown when a session receiver performs an operation on a session after its lock is expired. When a client accepts a session, the session is locked to the receiver for a duration specified in the entity definition. When the accepted session remains idle for the duration of lock, that is no operations performed on the session, the lock expires and the session is made available to other clients.- Since:
- 1.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SessionLockLostException()
SessionLockLostException(String message)
SessionLockLostException(String message, Throwable cause)
SessionLockLostException(Throwable cause)
-
Method Summary
-
Methods inherited from class com.microsoft.azure.servicebus.primitives.ServiceBusException
getContext, getIsTransient, getMessage
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-