public class ActionException extends RuntimeException
| 构造器和说明 |
|---|
ActionException(int errorCode,
Render errorRender) |
ActionException(int errorCode,
Render errorRender,
String errorMessage) |
ActionException(int errorCode,
String errorView) |
| 限定符和类型 | 方法和说明 |
|---|---|
Throwable |
fillInStackTrace()
异常构造函数会调用 fillInStackTrace() 构建整个调用栈,消耗较大
而 ActionException 无需使用调用栈信息,覆盖此方法用于提升性能
|
int |
getErrorCode() |
Render |
getErrorRender() |
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ActionException(int errorCode,
Render errorRender)
public ActionException(int errorCode,
String errorView)
public int getErrorCode()
public Render getErrorRender()
public Throwable fillInStackTrace()
fillInStackTrace 在类中 ThrowableCopyright © 2022. All rights reserved.