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
public class LeaseException
- extends Exception
Generic superclass for specific lease exceptions.
- Since:
- 1.0
- Author:
- Sun Microsystems, Inc.
- See Also:
- Serialized Form
Constructor Summary |
LeaseException()
Constructs an LeaseException with no detail message. |
LeaseException(String reason)
Constructs an LeaseException with the specified detail message. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
LeaseException
public LeaseException()
- Constructs an LeaseException with no detail message.
LeaseException
public LeaseException(String reason)
- Constructs an LeaseException with the specified detail message.
- Parameters:
reason
- a String containing the reason why the
exception was thrown
Copyright © GigaSpaces.