Class ConfigureException
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
Nested ClassesModifier and TypeClassDescriptionstatic classThrown in case initializing a component caused problems.Nested classes/interfaces inherited from class org.refcodes.component.InitializeException
InitializeException.InitializeRuntimeExceptionNested classes/interfaces inherited from class org.refcodes.component.LifecycleException
LifecycleException.LifecycleRuntimeExceptionNested 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
ConstructorsConstructorDescriptionConfigureException(Object aContext, String aMessage) Instantiates the classConfigureException.ConfigureException(Object aContext, String aMessage, String aErrorCode) Instantiates the classConfigureException.ConfigureException(Object aContext, String aMessage, Throwable aCause) Instantiates the classConfigureException.ConfigureException(Object aContext, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classConfigureException.ConfigureException(Object aContext, Throwable aCause) Instantiates the classConfigureException.ConfigureException(Object aContext, Throwable aCause, String aErrorCode) Instantiates the classConfigureException. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the context from the context property.Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.Trap
getPatternArguments, toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
ConfigureException
Instantiates the classConfigureException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureException
Instantiates the classConfigureException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureException
Instantiates the classConfigureException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureException
Instantiates the classConfigureException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureException
Instantiates the classConfigureException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureException
Instantiates the classConfigureException.- Parameters:
aContext- The context involved in the exception- See Also:
-
-
Method Details
-
getContext
Retrieves the context from the context property.- Specified by:
getContextin interfaceContextAccessor- Returns:
- The context stored by the context property.
-