Package org.simpleframework.common.lease
Class LeaseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.simpleframework.common.lease.LeaseException
-
- All Implemented Interfaces:
java.io.Serializable
public class LeaseException extends java.lang.RuntimeException
TheLeaseException
is used to indicate that some operation failed when using the lease after the lease duration has expired. Typically this will be thrown when the lease is renewed after the expiry period has passed.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LeaseException(java.lang.String template)
This constructor is used if there is a description of the event that caused the exception required.LeaseException(java.lang.String template, java.lang.Throwable cause)
This constructor is used if there is a description of the event that caused the exception required.
-
-
-
Constructor Detail
-
LeaseException
public LeaseException(java.lang.String template)
This constructor is used if there is a description of the event that caused the exception required. This can be given a message used to describe the situation for the exception.- Parameters:
message
- this is a description of the exception
-
LeaseException
public LeaseException(java.lang.String template, java.lang.Throwable cause)
This constructor is used if there is a description of the event that caused the exception required. This can be given a message used to describe the situation for the exception.- Parameters:
message
- this is a description of the exception
-
-