Package net.jini.core.lease
Class LeaseDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.core.lease.LeaseException
net.jini.core.lease.LeaseDeniedException
- All Implemented Interfaces:
Serializable
An exception generated when a lease request or renewal is denied.
- Since:
- 1.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an LeaseDeniedException with no detail message.LeaseDeniedException(String reason) Constructs an LeaseDeniedException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
LeaseDeniedException
public LeaseDeniedException()Constructs an LeaseDeniedException with no detail message. -
LeaseDeniedException
Constructs an LeaseDeniedException with the specified detail message.- Parameters:
reason- a String containing the reason why the lease was denied
-