public class LeaseException extends RuntimeException
LeaseException
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.Constructor and Description |
---|
LeaseException(String template)
This constructor is used if there is a description of the
event that caused the exception required.
|
LeaseException(String template,
Throwable cause)
This constructor is used if there is a description of the
event that caused the exception required.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LeaseException(String template)
message
- this is a description of the exceptionpublic LeaseException(String template, Throwable cause)
message
- this is a description of the exceptionCopyright © 2018. All rights reserved.