GigaSpaces XAP 9.1 API

net.jini.core.lease
Class LeaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by 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.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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

GigaSpaces XAP 9.1 API

Copyright © GigaSpaces.