Package com.tccc.kos.commons.util
Class ReasonException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.tccc.kos.commons.util.ReasonException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
SerialNumberException
Exception that contains a reason code and optional reason data.
- Version:
- 2022-10-31
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionReasonException
(String reason) ReasonException
(String reason, ReasonData reasonData) ReasonException
(String reason, ReasonData reasonData, Throwable t) ReasonException
(String reason, Object data, Class<?> view) ReasonException
(String reason, Object data, Class<?> view, Throwable t) ReasonException
(String reason, Throwable t) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReasonException
-
ReasonException
-
ReasonException
-
ReasonException
-
ReasonException
-
ReasonException
-
-
Method Details
-
getReason
-
getReasonData
-