- 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
public class InstantiationRuntimeException extends FactoryRuntimeException
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:
- Serialized Form
-
-
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
Constructors Constructor Description InstantiationRuntimeException(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.InstantiationRuntimeException(Throwable cause)
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 java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InstantiationRuntimeException
public InstantiationRuntimeException(String aMessage, String aErrorCode)
Instantiates a new unexpected factory runtime exception.- Parameters:
aMessage
- the messageaErrorCode
- the error code
-
InstantiationRuntimeException
public InstantiationRuntimeException(String aMessage, Throwable aCause, String aErrorCode)
Instantiates a new unexpected factory runtime exception.- Parameters:
aMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
InstantiationRuntimeException
public InstantiationRuntimeException(String message, Throwable cause)
Instantiates a new unexpected factory runtime exception.- Parameters:
message
- the messagecause
- the cause
-
InstantiationRuntimeException
public InstantiationRuntimeException(String message)
Instantiates a new unexpected factory runtime exception.- Parameters:
message
- the message
-
InstantiationRuntimeException
public InstantiationRuntimeException(Throwable aCause, String aErrorCode)
Instantiates a new unexpected factory runtime exception.- Parameters:
aCause
- the causeaErrorCode
- the error code
-
InstantiationRuntimeException
public InstantiationRuntimeException(Throwable cause)
Instantiates a new unexpected factory runtime exception.- Parameters:
cause
- the cause
-
-