simple.util.lease
Class LeaseException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by simple.util.lease.LeaseException
All Implemented Interfaces:
java.io.Serializable

public class LeaseException
extends java.lang.Exception

The LeaseException is used to indicate that some operation failed when attempting to use a Lease. Typically this will be thrown when the lease object is used after the expiry period of the lease has passed.

Author:
Niall Gallagher
See Also:
Serialized Form

Constructor Summary
LeaseException()
          This empty constructor is used if there is no explanation of the leasing exception required.
LeaseException(java.lang.String desc)
          This constructor is used if there is a description of the event that caused the exception required.
 
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()
This empty constructor is used if there is no explanation of the leasing exception required.


LeaseException

public LeaseException(java.lang.String desc)
This constructor is used if there is a description of the event that caused the exception required.

Parameters:
desc - this is a description of the exception