程序包 org.xmeta
类 ActionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.xmeta.ActionException
- 所有已实现的接口:
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此时返回的列表不为空,其他则为空。StringgetLocalizedMessage()StringgetMessage()StackTraceElement[]getStackTrace()protected voidinitBindings(ActionContext actionContext)voidprintStackTrace()voidprintStackTrace(PrintStream s)voidprintStackTrace(PrintWriter s)从类继承的方法 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getSuppressed, initCause, setStackTrace, toString
-
构造器详细资料
-
ActionException
public ActionException() -
ActionException
-
ActionException
-
ActionException
-
ActionException
-
ActionException
-
ActionException
-
-
方法详细资料
-
initBindings
-
getBindings
如果构造ActionExeption时传入了ActionContext,那么可以获取它的所有Bindings此时返回的列表不为空,其他则为空。- 返回:
- 变量范围列表
-
printStackTrace
public void printStackTrace()- 覆盖:
printStackTrace在类中Throwable
-
printStackTrace
- 覆盖:
printStackTrace在类中Throwable
-
printStackTrace
- 覆盖:
printStackTrace在类中Throwable
-
getLocalizedMessage
- 覆盖:
getLocalizedMessage在类中Throwable
-
getMessage
- 覆盖:
getMessage在类中Throwable
-
getStackTrace
- 覆盖:
getStackTrace在类中Throwable
-