ActionException Class
- public class ActionException
extends Exception
Generic exception to be thrown by an Action implementation so that
Action clients can just check for this one type, regardless of
what the action is doing.
-
Hierarchy
-
Object
Throwable
Exception
ActionException
-
All Implemented Interfaces
-
Serializable
Methods from java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ActionException
public ActionException()
ActionException
public ActionException(Exception
e,
String
message)
- Wrap the original exception and add an Action-specific
message.
ActionException
public ActionException(Exception
e)
- Wrap the original exception. The original exception's message
will become this exception's message.
ActionException
public ActionException(String
message)
getEmbeddedException() Method
public Exception
getEmbeddedException()