Class ConfigureException.ConfigureRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.component.ComponentRuntimeException
org.refcodes.component.LifecycleException.LifecycleRuntimeException
org.refcodes.component.InitializeException.InitializeRuntimeException
org.refcodes.component.ConfigureException.ConfigureRuntimeException
- All Implemented Interfaces:
Serializable, ContextAccessor, ErrorCodeAccessor, Trap
- Enclosing class:
ConfigureException
public static class ConfigureException.ConfigureRuntimeException
extends InitializeException.InitializeRuntimeException
implements ContextAccessor
Thrown in case initializing a component caused problems. Usually a method
similar to ""initialize(...)" throws such an exception.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class ComponentRuntimeException
ComponentRuntimeException.ComponentHandleRuntimeExceptionNested 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
ConstructorsConstructorDescriptionConfigureRuntimeException(Object aContext, String aMessage) Instantiates the classConfigureException.ConfigureRuntimeException.ConfigureRuntimeException(Object aContext, String aMessage, String aErrorCode) Instantiates the classConfigureException.ConfigureRuntimeException.ConfigureRuntimeException(Object aContext, String aMessage, Throwable aCause) Instantiates the classConfigureException.ConfigureRuntimeException.ConfigureRuntimeException(Object aContext, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classConfigureException.ConfigureRuntimeException.ConfigureRuntimeException(Object aContext, Throwable aCause) Instantiates the classConfigureException.ConfigureRuntimeException.ConfigureRuntimeException(Object aContext, Throwable aCause, String aErrorCode) Instantiates the classConfigureException.ConfigureRuntimeException. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the context from the context property.Methods inherited from class AbstractRuntimeException
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
-
ConfigureRuntimeException
Instantiates the classConfigureException.ConfigureRuntimeException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureRuntimeException
public ConfigureRuntimeException(Object aContext, String aMessage, Throwable aCause, String aErrorCode) Instantiates the classConfigureException.ConfigureRuntimeException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureRuntimeException
Instantiates the classConfigureException.ConfigureRuntimeException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureRuntimeException
Instantiates the classConfigureException.ConfigureRuntimeException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureRuntimeException
Instantiates the classConfigureException.ConfigureRuntimeException.- Parameters:
aContext- The context involved in the exception- See Also:
-
ConfigureRuntimeException
Instantiates the classConfigureException.ConfigureRuntimeException.- 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.
-