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 message) Instantiates a new unexpected factory runtime exception.InstantiationRuntimeException
(String aMessage, String aErrorCode) Instantiates a new unexpected factory runtime exception.InstantiationRuntimeException
(String message, Throwable cause) 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
-
Constructor Details
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.- Parameters:
message
- the messagecause
- the cause
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.- Parameters:
message
- the message
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
InstantiationRuntimeException
Instantiates a new unexpected factory runtime exception.- Parameters:
cause
- the cause
-