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
ConstructorDescriptionDisposedException
(String aMessage) Instantiates a new disposed exception.DisposedException
(String aMessage, String aErrorCode) Instantiates a new disposed exception.DisposedException
(String aMessage, Throwable aCause) Instantiates a new disposed exception.DisposedException
(String aMessage, Throwable aCause, String aErrorCode) Instantiates a new disposed exception.DisposedException
(Throwable aCause) 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
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
DisposedException
Instantiates a new disposed exception.- Parameters:
aMessage
- The aMessage describing this exception.
-
DisposedException
Instantiates a new disposed exception. -
DisposedException
Instantiates a new disposed exception. -
DisposedException
Instantiates a new disposed exception.- Parameters:
aMessage
- The aMessage describing this exception.aErrorCode
- The error code identifying this exception.
-
DisposedException
Instantiates a new disposed exception. -
DisposedException
Instantiates a new disposed exception.
-