Package net.jini.core.lease
Class LeaseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
net.jini.core.lease.LeaseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
LeaseDeniedException,LeaseMapException,UnknownLeaseException
Generic superclass for specific lease exceptions.
- Since:
- 1.0
- Author:
- Sun Microsystems, Inc.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an LeaseException with no detail message.LeaseException(String reason) Constructs an LeaseException 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
-
LeaseException
public LeaseException()Constructs an LeaseException with no detail message. -
LeaseException
Constructs an LeaseException with the specified detail message.- Parameters:
reason- a String containing the reason why the exception was thrown
-