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