com.sun.slamd.admin
Class AccessDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.sun.slamd.admin.AccessDeniedException
All Implemented Interfaces:
java.io.Serializable

public class AccessDeniedException
extends java.lang.Exception

This class defines an exception that may be thrown if a problem occurs while evaluating access control information for the SLAMD administrative interface.

Author:
Neil A. Wilson
See Also:
Serialized Form

Constructor Summary
AccessDeniedException(java.lang.String message)
          Creates a new access denied exception with the specified message.
AccessDeniedException(java.lang.String message, java.lang.Exception parentException)
          Creates a new access denied exception with the specified message and parent exception.
 
Method Summary
 java.lang.Exception getParentException()
          Retrieves the parent exception that triggered this access denied exception.
 
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

AccessDeniedException

public AccessDeniedException(java.lang.String message)
Creates a new access denied exception with the specified message.

Parameters:
message - The message that indicates the cause of the exception.

AccessDeniedException

public AccessDeniedException(java.lang.String message,
                             java.lang.Exception parentException)
Creates a new access denied exception with the specified message and parent exception.

Parameters:
message - The message associated with this exception.
parentException - The parent exception that triggered this access denied exception.
Method Detail

getParentException

public java.lang.Exception getParentException()
Retrieves the parent exception that triggered this access denied exception.

Returns:
The parent exception that triggered this access denied exception, or null if no parent exception is available.