|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
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
构造方法摘要 | |
---|---|
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 |
方法摘要 |
---|
从类 com.opensymphony.xwork2.XWorkException 继承的方法 |
---|
getLocation, getThrowable, toString |
从类 java.lang.Throwable 继承的方法 |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
从接口 com.opensymphony.xwork2.util.location.Locatable 继承的方法 |
---|
getLocation |
构造方法详细信息 |
---|
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 exceptionpublic StrutsException(Throwable cause, Object target)
StrutsException
with the root cause and target
cause
- The wrapped exceptiontarget
- The target of the exceptionpublic StrutsException(String s, Throwable cause)
StrutsException
with the specified
detail message and exception cause.
s
- the detail message.cause
- the wrapped exceptionpublic 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
|
||||||||||
上一个类 下一个类 | 框架 无框架 | |||||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |