Class ConfigureException
- All Implemented Interfaces:
Serializable, ContextAccessor, ErrorCodeAccessor, 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 InitializeException
InitializeException.InitializeRuntimeExceptionNested classes/interfaces inherited from class LifecycleException
LifecycleException.LifecycleRuntimeExceptionNested classes/interfaces inherited from interface ContextAccessor
ContextAccessor.ContextBuilder<CTX,B>, ContextAccessor.ContextMutator<CTX>, ContextAccessor.ContextProperty<CTX> Nested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, 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 AbstractException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface 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.
-