java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.factory.FactoryRuntimeException
org.refcodes.factory.InstantiationRuntimeException
- All Implemented Interfaces:
Serializable
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
Thrown in case of a caught runtime exception of an underlying framework which
only shows up at runtime (probably not documented in any API).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
-
Constructor Summary
ConstructorDescriptionInstantiationRuntimeException
(String aMessage) Instantiates a new unexpected factory runtime exception.InstantiationRuntimeException
(String aMessage, String aErrorCode) Instantiates a new unexpected factory runtime exception.InstantiationRuntimeException
(String aMessage, Throwable aCause) Instantiates a new unexpected factory runtime exception.InstantiationRuntimeException
(String aMessage, Throwable aCause, String aErrorCode) Instantiates a new unexpected factory runtime exception.Instantiates a new unexpected factory runtime exception.InstantiationRuntimeException
(Throwable aCause, String aErrorCode) Instantiates a new unexpected factory runtime 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
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.- Parameters:
aMessage
- The aMessage describing this exception.aErrorCode
- The error code identifying this exception.
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception. -
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception. -
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.- Parameters:
aMessage
- The aMessage describing this exception.
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception. -
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.
-