org.cdlib.xtf.dynaXML
Class NoPermissionException

Object
  extended by Throwable
      extended by Exception
          extended by RuntimeException
              extended by GeneralException
                  extended by DynaXMLException
                      extended by NoPermissionException
All Implemented Interfaces:
Serializable

 class NoPermissionException
extends DynaXMLException

This exception is thrown when a requestor fails authentication (ie has the wrong password, IP address, etc).


Field Summary
 
Fields inherited from class GeneralException
attribs
 
Constructor Summary
NoPermissionException()
          Default constructor
NoPermissionException(String ipAddr)
          Constructor taking an IP address
NoPermissionException(Throwable cause)
          Constructor that only takes a 'cause'.
 
Method Summary
 boolean isSevere()
          This particular exception isn't really severe enough to log
 
Methods inherited from class GeneralException
set
 
Methods inherited from class Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NoPermissionException

public NoPermissionException(String ipAddr)
Constructor taking an IP address

Parameters:
ipAddr - The IP address of the requestor

NoPermissionException

public NoPermissionException(Throwable cause)
Constructor that only takes a 'cause'. This is used, for example, when an LDAP authentication attempt fails due to a communication error.

Parameters:
cause - The exception that caused this exception.

NoPermissionException

public NoPermissionException()
Default constructor

Method Detail

isSevere

public boolean isSevere()
This particular exception isn't really severe enough to log

Overrides:
isSevere in class GeneralException