java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.exception.DisposedException
- All Implemented Interfaces:
Serializable,ErrorCodeAccessor,Trap
A
DisposedException may be thrown in case of using of a disposed
instance's methods.- See Also:
-
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
ConstructorsConstructorDescriptionDisposedException(String aMessage) Instantiates a new disposed exception.DisposedException(String aMessage, String aErrorCode) Instantiates a new disposed exception.DisposedException(String message, Throwable cause) Instantiates a new disposed exception.DisposedException(String aMessage, Throwable aCause, String aErrorCode) Instantiates a new disposed exception.DisposedException(Throwable cause) Instantiates a new disposed exception.DisposedException(Throwable aCause, String aErrorCode) Instantiates a new disposed exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DisposedException
Instantiates a new disposed exception.- Parameters:
aMessage- the message
-
DisposedException
Instantiates a new disposed exception.- Parameters:
message- the messagecause- the cause
-
DisposedException
Instantiates a new disposed exception.- Parameters:
cause- the cause
-
DisposedException
Instantiates a new disposed exception.- Parameters:
aMessage- the messageaErrorCode- the error code
-
DisposedException
Instantiates a new disposed exception.- Parameters:
aMessage- the messageaCause- the causeaErrorCode- the error code
-
DisposedException
Instantiates a new disposed exception.- Parameters:
aCause- the causeaErrorCode- the error code
-