org.deltava.security.command
Class AccessControlException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.deltava.servlet.ControllerException
              extended by org.deltava.commands.CommandException
                  extended by org.deltava.security.command.AccessControlException
All Implemented Interfaces:
Serializable

public class AccessControlException
extends CommandException

An exception thrown by an access controller. By default, stack traces of access control exceptions are not logged.

Since:
1.0
Version:
2.3
Author:
Luke
See Also:
Serialized Form

Constructor Summary
AccessControlException(String msg)
          Cretes a new access control exception with a particular message.
AccessControlException(String msg, boolean doWarn)
          Creates a new access control exception with a particular message, and optionally sets the warning flag.
 
Method Summary
 
Methods inherited from class org.deltava.servlet.ControllerException
getForwardURL, getLogStackDump, isWarning, setForwardURL, setLogStackDump, setWarning
 
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

AccessControlException

AccessControlException(String msg)
Cretes a new access control exception with a particular message.

Parameters:
msg - the message

AccessControlException

AccessControlException(String msg,
                       boolean doWarn)
Creates a new access control exception with a particular message, and optionally sets the warning flag.

Parameters:
msg - the message
doWarn - TRUE if the exception should be logged as a warning, otherwise FALSE


Copyright © 2004-2009 Global Virtual Airlines Group. All Rights Reserved.