public class ValidateException extends StatefulException
Constructor and Description |
---|
ValidateException()
构造
|
ValidateException(int status,
String msg)
构造
|
ValidateException(int status,
String msg,
Throwable throwable) |
ValidateException(int status,
Throwable throwable)
构造
|
ValidateException(String message)
构造
|
ValidateException(String messageTemplate,
Object... params)
构造
|
ValidateException(String message,
Throwable cause)
构造
|
ValidateException(String message,
Throwable cause,
boolean enableSuppression,
boolean writableStackTrace)
构造
|
ValidateException(Throwable e)
构造
|
ValidateException(Throwable cause,
String messageTemplate,
Object... params)
构造
|
getStatus
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ValidateException()
public ValidateException(Throwable e)
e
- 异常public ValidateException(String message)
message
- 消息public ValidateException(String messageTemplate, Object... params)
messageTemplate
- 消息模板params
- 参数public ValidateException(String message, Throwable cause)
message
- 消息cause
- 被包装的子异常public ValidateException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
message
- 消息cause
- 被包装的子异常enableSuppression
- 是否启用抑制writableStackTrace
- 堆栈跟踪是否应该是可写的public ValidateException(Throwable cause, String messageTemplate, Object... params)
cause
- 被包装的子异常messageTemplate
- 消息模板params
- 参数public ValidateException(int status, String msg)
status
- 状态码msg
- 消息public ValidateException(int status, Throwable throwable)
status
- 状态码throwable
- 异常Copyright © 2025. All rights reserved.