java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractHiddenException
org.refcodes.exception.HiddenException
- All Implemented Interfaces:
Serializable,ErrorCodeAccessor,Trap
public class HiddenException extends AbstractHiddenException
Exception for hidden (unchecked) / subsystem exceptions. A hidden exception
must provide the cause of the hidden exception.
- See Also:
- Serialized Form
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B extends ErrorCodeAccessor.ErrorCodeBuilder<B>>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodeProperty -
Constructor Summary
Constructors Constructor Description HiddenException(String message, Throwable cause)Instantiates a new hidden exception.HiddenException(String aMessage, Throwable aCause, String aErrorCode)Instantiates a new hidden exception.HiddenException(Throwable cause)Instantiates a new hidden exception.HiddenException(Throwable aCause, String aErrorCode)Instantiates a new hidden exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractHiddenException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
HiddenException
Instantiates a new hidden exception.- Parameters:
message- the messagecause- the cause
-
HiddenException
Instantiates a new hidden exception.- Parameters:
cause- the cause
-
HiddenException
Instantiates a new hidden exception.- Parameters:
aMessage- the messageaCause- the causeaErrorCode- the error code
-
HiddenException
Instantiates a new hidden exception.- Parameters:
aCause- the causeaErrorCode- the error code
-