java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.component.ComponentException
org.refcodes.component.LifecycleException
org.refcodes.component.InitializeException
org.refcodes.component.ConfigureException
- All Implemented Interfaces:
Serializable
,ContextAccessor
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.Trap
Thrown in case initializing a component caused problems. Usually a method
similar to ""initialize(...)" throws such an exception.
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Thrown in case initializing a component caused problems.Nested classes/interfaces inherited from class org.refcodes.component.InitializeException
InitializeException.InitializeRuntimeException
Nested classes/interfaces inherited from class org.refcodes.component.LifecycleException
LifecycleException.LifecycleRuntimeException
Nested classes/interfaces inherited from interface org.refcodes.component.ContextAccessor
ContextAccessor.ContextBuilder<CTX,
B extends ContextAccessor.ContextBuilder<CTX, B>>, ContextAccessor.ContextMutator<CTX>, ContextAccessor.ContextProperty<CTX> 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
ConstructorDescriptionConfigureException
(Object aContext, String message) Instantiates a new configure exception.ConfigureException
(Object aContext, String aMessage, String aErrorCode) Instantiates a new configure exception.ConfigureException
(Object aContext, String message, Throwable cause) Instantiates a new configure exception.ConfigureException
(Object aContext, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new configure exception.ConfigureException
(Object aContext, Throwable cause) Instantiates a new configure exception.ConfigureException
(Object aContext, Throwable aCause, String aErrorCode) Instantiates a new configure exception. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the context from the context property.Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ConfigureException
Instantiates a new configure exception.- Parameters:
aContext
- the contextaMessage
- the messageaErrorCode
- the error code
-
ConfigureException
Instantiates a new configure exception.- Parameters:
aContext
- the contextaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
ConfigureException
Instantiates a new configure exception.- Parameters:
aContext
- the contextmessage
- the messagecause
- the cause
-
ConfigureException
Instantiates a new configure exception.- Parameters:
aContext
- the contextmessage
- the message
-
ConfigureException
Instantiates a new configure exception.- Parameters:
aContext
- the contextaCause
- the causeaErrorCode
- the error code
-
ConfigureException
Instantiates a new configure exception.- Parameters:
aContext
- the contextcause
- the cause
-
-
Method Details
-
getContext
Retrieves the context from the context property.- Specified by:
getContext
in interfaceContextAccessor
- Returns:
- The context stored by the context property.
-