Serializablepublic class ActionException extends RuntimeException
| 构造器 | 说明 |
|---|---|
ActionException() |
|
ActionException(String message) |
|
ActionException(String message,
Throwable cause) |
|
ActionException(String message,
Throwable cause,
ActionContext actionContext) |
|
ActionException(String message,
ActionContext actionContext) |
|
ActionException(Throwable cause) |
|
ActionException(Throwable cause,
ActionContext actionContext) |
| 修饰符和类型 | 方法 | 说明 |
|---|---|---|
List<Bindings> |
getBindings() |
如果构造ActionExeption时传入了ActionContext,那么可以获取它的所有Bindings此时返回的列表不为空,其他则为空。
|
String |
getLocalizedMessage() |
|
String |
getMessage() |
|
StackTraceElement[] |
getStackTrace() |
|
protected void |
initBindings(ActionContext actionContext) |
|
void |
printStackTrace() |
|
void |
printStackTrace(PrintStream s) |
|
void |
printStackTrace(PrintWriter s) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddSuppressed, fillInStackTrace, getCause, getSuppressed, initCause, setStackTrace, toStringpublic ActionException()
public ActionException(String message)
public ActionException(Throwable cause)
public ActionException(String message, ActionContext actionContext)
public ActionException(String message, Throwable cause, ActionContext actionContext)
public ActionException(Throwable cause, ActionContext actionContext)
protected void initBindings(ActionContext actionContext)
public List<Bindings> getBindings()
public void printStackTrace()
printStackTrace 在类中 Throwablepublic void printStackTrace(PrintStream s)
printStackTrace 在类中 Throwablepublic void printStackTrace(PrintWriter s)
printStackTrace 在类中 Throwablepublic String getLocalizedMessage()
getLocalizedMessage 在类中 Throwablepublic String getMessage()
getMessage 在类中 Throwablepublic StackTraceElement[] getStackTrace()
getStackTrace 在类中 ThrowableCopyright © 2018 xworker.org. All rights reserved.