net.jini.core.lease
Class LeaseDeniedException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bynet.jini.core.lease.LeaseException
              extended bynet.jini.core.lease.LeaseDeniedException
All Implemented Interfaces:
Serializable

public class LeaseDeniedException
extends LeaseException

An exception generated when a lease request or renewal is denied.

Since:
1.0
Author:
Sun Microsystems, Inc.
See Also:
Serialized Form

Constructor Summary
LeaseDeniedException()
          Constructs an LeaseDeniedException with no detail message.
LeaseDeniedException(String reason)
          Constructs an LeaseDeniedException with the specified detail message.
 
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

LeaseDeniedException

public LeaseDeniedException()
Constructs an LeaseDeniedException with no detail message.


LeaseDeniedException

public LeaseDeniedException(String reason)
Constructs an LeaseDeniedException with the specified detail message.

Parameters:
reason - a String containing the reason why the lease was denied


Copyright 2007, multiple authors.
Licensed under the Apache License, Version 2.0, see the NOTICE file for attributions.