SessionLockLostException Class
- java.
lang. Object - Exception
- ServiceBusException
- com.
microsoft. azure. servicebus. primitives. SessionLockLostException
- com.
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.
Constructor Summary
Constructor | Description | |
---|---|---|
SessionLockLostException() | ||
SessionLockLostException(String message) | ||
SessionLockLostException(String message, Throwable cause) | ||
SessionLockLostException(Throwable cause) |
Inherited Members
Constructor Details
SessionLockLostException
public SessionLockLostException()
SessionLockLostException
public SessionLockLostException(String message)
Parameters:
SessionLockLostException
public SessionLockLostException(String message, Throwable cause)
Parameters:
SessionLockLostException
public SessionLockLostException(Throwable cause)
Parameters:
Applies to
Azure SDK for Java