public class ConfigureException extends InitializeException implements ContextAccessor
InitializeException.InitializeRuntimeException
ContextAccessor.ContextBuilder<CTX,B extends ContextAccessor.ContextBuilder<CTX,B>>, ContextAccessor.ContextMutator<CTX>, ContextAccessor.ContextProperty<CTX>
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
Constructor and Description |
---|
ConfigureException(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.
|
Modifier and Type | Method and Description |
---|---|
Object |
getContext()
Retrieves the context from the context property.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ConfigureException(Object aContext, String aMessage, String aErrorCode)
aContext
- the contextaMessage
- the messageaErrorCode
- the error codepublic ConfigureException(Object aContext, String aMessage, Throwable aCause, String aErrorCode)
aContext
- the contextaMessage
- the messageaCause
- the causeaErrorCode
- the error codepublic ConfigureException(Object aContext, String message, Throwable cause)
aContext
- the contextmessage
- the messagecause
- the causepublic ConfigureException(Object aContext, String message)
aContext
- the contextmessage
- the messagepublic ConfigureException(Object aContext, Throwable aCause, String aErrorCode)
aContext
- the contextaCause
- the causeaErrorCode
- the error codepublic Object getContext()
getContext
in interface ContextAccessor
Copyright © 2018. All rights reserved.