|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.opensymphony.xwork2.XWorkException
org.apache.struts2.StrutsException
public class StrutsException
A generic runtime exception that optionally contains Location information
| Constructor Summary | |
|---|---|
StrutsException()
Constructs a StrutsException with no detail message. |
|
StrutsException(String s)
Constructs a StrutsException with the specified
detail message. |
|
StrutsException(String s,
Object target)
Constructs a StrutsException with the specified
detail message and target. |
|
StrutsException(String s,
Throwable cause)
Constructs a StrutsException with the specified
detail message and exception cause. |
|
StrutsException(String s,
Throwable cause,
Object target)
Constructs a StrutsException with the specified
detail message, cause, and target |
|
StrutsException(Throwable cause)
Constructs a StrutsException with the root cause |
|
StrutsException(Throwable cause,
Object target)
Constructs a StrutsException with the root cause and target |
|
| Method Summary |
|---|
| Methods inherited from class com.opensymphony.xwork2.XWorkException |
|---|
getLocation, getThrowable, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface com.opensymphony.xwork2.util.location.Locatable |
|---|
getLocation |
| Constructor Detail |
|---|
public StrutsException()
StrutsException with no detail message.
public StrutsException(String s)
StrutsException with the specified
detail message.
s - the detail message.
public StrutsException(String s,
Object target)
StrutsException with the specified
detail message and target.
s - the detail message.target - the target of the exception.public StrutsException(Throwable cause)
StrutsException with the root cause
cause - The wrapped exception
public StrutsException(Throwable cause,
Object target)
StrutsException with the root cause and target
cause - The wrapped exceptiontarget - The target of the exception
public StrutsException(String s,
Throwable cause)
StrutsException with the specified
detail message and exception cause.
s - the detail message.cause - the wrapped exception
public StrutsException(String s,
Throwable cause,
Object target)
StrutsException with the specified
detail message, cause, and target
s - the detail message.cause - The wrapped exceptiontarget - The target of the exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||