Package org.aoju.bus.core.exception
Class RelevantException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.io.IOException
org.aoju.bus.core.exception.RelevantException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
RevisedException
自定义异常: 未受检异常
- Since:
- Java 17+
- Author:
- Kimi Liu
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedprotectedRelevantException(Exception cause) protectedRelevantException(String message) 将抛出对象包裹成运行时异常,并增加自己的描述protectedRelevantException(String format, Object... args) 根据格式化字符串,生成运行时异常protectedRelevantException(String errcode, String errmsg) 将抛出对象包裹成运行时异常,并增加自己的描述protectedRelevantException(String message, Throwable cause) 将抛出对象包裹成运行时异常,并增加自己的描述protectedRelevantException(Throwable cause) 将抛出对象包裹成运行时异常,并增加自己的描述protectedRelevantException(Throwable e, String fmt, Object... args) 将抛出对象包裹成运行时异常,并增加自己的描述 -
Method Summary
Modifier and TypeMethodDescriptionprotected static RelevantException生成一个不可能的运行时异常protected static booleanprotected static RelevantException生成一个未实现的运行时异常protected static ThrowableMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
errcode
错误码 -
errmsg
错误信息
-
-
Constructor Details
-
RelevantException
protected RelevantException() -
RelevantException
-
RelevantException
-
RelevantException
-
RelevantException
-
RelevantException
-
RelevantException
-
RelevantException
-
-
Method Details
-
noImplement
-
impossible
-
unwrapThrow
-
isCauseBy
-