Serializable
public 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, wait
addSuppressed, fillInStackTrace, getCause, getSuppressed, initCause, setStackTrace, toString
public 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
在类中 Throwable
public void printStackTrace(PrintStream s)
printStackTrace
在类中 Throwable
public void printStackTrace(PrintWriter s)
printStackTrace
在类中 Throwable
public String getLocalizedMessage()
getLocalizedMessage
在类中 Throwable
public String getMessage()
getMessage
在类中 Throwable
public StackTraceElement[] getStackTrace()
getStackTrace
在类中 Throwable
Copyright © 2018 xworker.org. All rights reserved.