Module org.refcodes.component
Package org.refcodes.component
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
,org.refcodes.exception.ErrorCodeAccessor
,org.refcodes.exception.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 org.refcodes.component.ComponentRuntimeException
ComponentRuntimeException.ComponentHandleRuntimeException
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
ConstructorDescriptionConfigureRuntimeException
(Object aContext, String aMessage) Instantiates a new according exception.ConfigureRuntimeException
(Object aContext, String aMessage, String aErrorCode) Instantiates a new according exception.ConfigureRuntimeException
(Object aContext, String aMessage, Throwable aCause) Instantiates a new according exception.ConfigureRuntimeException
(Object aContext, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new according exception.ConfigureRuntimeException
(Object aContext, Throwable aCause) Instantiates a new according exception.ConfigureRuntimeException
(Object aContext, Throwable aCause, String aErrorCode) Instantiates a new according exception. -
Method Summary
Modifier and TypeMethodDescriptionRetrieves the context from the context property.Methods inherited from class org.refcodes.exception.AbstractRuntimeException
getErrorCode, getMessage
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.refcodes.exception.Trap
getPatternArguments, toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
ConfigureRuntimeException
Instantiates a new according exception.- Parameters:
aContext
- the contextaMessage
- The aMessage describing this exception.aErrorCode
- The error code identifying this exception.
-
ConfigureRuntimeException
public ConfigureRuntimeException(Object aContext, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new according exception. -
ConfigureRuntimeException
Instantiates a new according exception. -
ConfigureRuntimeException
Instantiates a new according exception.- Parameters:
aContext
- the contextaMessage
- The aMessage describing this exception.
-
ConfigureRuntimeException
Instantiates a new according exception. -
ConfigureRuntimeException
Instantiates a new according exception.
-
-
Method Details
-
getContext
Retrieves the context from the context property.- Specified by:
getContext
in interfaceContextAccessor
- Returns:
- The context stored by the context property.
-