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