Class CryptoException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.miaixz.bus.core.lang.exception.UncheckedException
org.miaixz.bus.core.lang.exception.CryptoException
- All Implemented Interfaces:
Serializable
类型: 加解密异常
- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
Field Summary
Fields inherited from class org.miaixz.bus.core.lang.exception.UncheckedException
errcode, errmsg -
Constructor Summary
ConstructorsConstructorDescription构造CryptoException(String message) 构造CryptoException(String format, Object... args) 构造CryptoException(String errcode, String errmsg) 构造CryptoException(String errcode, String errmsg, Throwable throwable) CryptoException(String errcode, Throwable throwable) 构造CryptoException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) 构造构造CryptoException(Throwable cause, String format, Object... args) 构造 -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CryptoException
public CryptoException()构造 -
CryptoException
构造- Parameters:
e- 异常
-
CryptoException
构造- Parameters:
message- 消息
-
CryptoException
构造- Parameters:
format- 消息模板args- 参数
-
CryptoException
构造- Parameters:
errcode- 错误码errmsg- 消息
-
CryptoException
构造- Parameters:
errcode- 错误码throwable- 异常
-
CryptoException
构造- Parameters:
cause- 被包装的子异常format- 消息模板args- 参数
-
CryptoException
- Parameters:
errcode- 错误码errmsg- 消息throwable- 异常
-
CryptoException
public CryptoException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) 构造- Parameters:
message- 消息cause- 被包装的子异常enableSuppression- 是否启用抑制writableStackTrace- 堆栈跟踪是否应该是可写的
-