PAJES 2.3.9

org.pajes.security
Class AccessPermissionException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.servlet.ServletException
              extended byorg.pajes.security.AccessPermissionException
All Implemented Interfaces:
java.io.Serializable

public class AccessPermissionException
extends javax.servlet.ServletException

Thrown when a security related exception occurs.

See Also:
Serialized Form

Field Summary
static java.lang.String MISSING_ACCESS_PERMISSION
          Message key for when the Login or Logout servlets cannot locate an AccessPermission instance.
static java.lang.String NULL_REQUEST_DISPATCHER
          Message key for when an attempt is made to assign a null RequestDispatcher to the AccessPermission.
 
Constructor Summary
AccessPermissionException(java.lang.String messageKey)
          Creates a new exception, using the specified message key to locate the actual message to be displayed.
AccessPermissionException(java.lang.String messageKey, java.lang.String[] arguments)
          Creates a new exception, using the specified message key to locate the actual message to be displayed.
AccessPermissionException(java.lang.String messageKey, java.lang.String[] arguments, java.lang.Throwable rootCause)
          Creates a new exception, using the specified message key to locate the actual message to be displayed.
 
Methods inherited from class javax.servlet.ServletException
getRootCause
 
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
 

Field Detail

MISSING_ACCESS_PERMISSION

public static final java.lang.String MISSING_ACCESS_PERMISSION
Message key for when the Login or Logout servlets cannot locate an AccessPermission instance.

See Also:
Constant Field Values

NULL_REQUEST_DISPATCHER

public static final java.lang.String NULL_REQUEST_DISPATCHER
Message key for when an attempt is made to assign a null RequestDispatcher to the AccessPermission.

See Also:
Constant Field Values
Constructor Detail

AccessPermissionException

public AccessPermissionException(java.lang.String messageKey)
Creates a new exception, using the specified message key to locate the actual message to be displayed. If no matching message key is found, the key is returned as the message.

Parameters:
messageKey - the key from which the actual exception message will be located.

AccessPermissionException

public AccessPermissionException(java.lang.String messageKey,
                                 java.lang.String[] arguments)
Creates a new exception, using the specified message key to locate the actual message to be displayed. If no matching message key is found, the key is returned as the message.

Parameters:
messageKey - the key from which the actual exception message will be located.
arguments - any arguments to be passed to create the complete message.

AccessPermissionException

public AccessPermissionException(java.lang.String messageKey,
                                 java.lang.String[] arguments,
                                 java.lang.Throwable rootCause)
Creates a new exception, using the specified message key to locate the actual message to be displayed. If no matching message key is found, the key is returned as the message.

Parameters:
messageKey - the key from which the actual exception message will be located.
arguments - any arguments to be passed to create the complete message.
rootCause - the Throwable exception that interfered with the servlet's normal operation, making the servlet exception necessary.

PAJES 2.3.9

Copyright © 2002-2003 Viridian Pty Limited. All Rights Reserved.