All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.microsoft.azure.servicebus.primitives.SessionLockLostException Maven / Gradle / Ivy

Go to download

Java library for Azure Service Bus. Please note, a newer package com.azure:azure-messaging-servicebus for Azure Service Bus is available as of December 2020. While this package will continue to receive critical bug fixes, we strongly encourage you to upgrade. Read the migration guide at https://aka.ms/azsdk/java/migrate/sb for more details.

There is a newer version: 3.6.7
Show newest version
package com.microsoft.azure.servicebus.primitives;

/**
 * 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
 *
 */
public class SessionLockLostException extends ServiceBusException {
	
	private static final long serialVersionUID = -5861754850637792928L;

	public SessionLockLostException()
	{
		super(false);
	}
	
	public SessionLockLostException(String message)
	{
		super(false, message);
	}
	
	public SessionLockLostException(Throwable cause)
	{
		super(false, cause);
	}
	
	public SessionLockLostException(String message, Throwable cause)
	{
		super(false, message, cause);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy