Class CommandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.deltava.util.ControllerException
org.deltava.commands.CommandException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
AccessControlException
An exception thrown by a Web Site Command.
- Since:
- 1.0
- Version:
- 1.0
- Author:
- Luke
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCommandException
(String msg) Create a new CommandException with an error message.CommandException
(String msg, boolean dumpStack) Creates a new CommandException with an error message, and controls stack dumping.CommandException
(String msg, Throwable t) Create a new CommandException with an error message and underlying cause.Create a new CommandException that wraps an underlying exception.Create a new CommandException that wraps another Controller exception. -
Method Summary
Methods inherited from class org.deltava.util.ControllerException
getForwardURL, getLogStackDump, getStatusCode, isSuppressed, isWarning, setForwardURL, setLogStackDump, setStatusCode, setSuppressed, setWarning
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CommandException
Create a new CommandException with an error message.- Parameters:
msg
- the error message
-
CommandException
Creates a new CommandException with an error message, and controls stack dumping.- Parameters:
msg
-dumpStack
-
-
CommandException
-
CommandException
Create a new CommandException that wraps an underlying exception.- Parameters:
t
- the root cause Exception.
-
CommandException
Create a new CommandException that wraps another Controller exception. The intermediate exception will be stripped out.- Parameters:
ce
- the root Controller Exception
-