|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jcoderz.commons.BaseRuntimeException
org.jcoderz.commons.config.ConfigurationServiceRuntimeException
org.jcoderz.commons.config.ConfigurationTypeConversionFailedException
public class ConfigurationTypeConversionFailedException
Config value {VALUE} for key {org.jcoderz.commons.config.ConfigurationKey:KEY}
could not be converted to type {TYPE}.
This exception encapsulates the log message
CfgLogMessage.CONFIGURATION_TYPE_CONVERSION_FAILED.
| Constructor Summary | |
|---|---|
protected |
ConfigurationTypeConversionFailedException(CfgLogMessage messageInfo)
Constructor getting an log message info. |
protected |
ConfigurationTypeConversionFailedException(CfgLogMessage messageInfo,
Throwable cause)
Constructor getting an log message info and a root exception. |
|
ConfigurationTypeConversionFailedException(String value,
ConfigurationKey key,
String type)
Constructs a configuration type conversion failed exception with a cause. |
|
ConfigurationTypeConversionFailedException(String value,
ConfigurationKey key,
String type,
Throwable cause)
Constructs a configuration type conversion failed exception with a cause. |
| Method Summary | |
|---|---|
ConfigurationKey |
valueOfKey()
Returns the value of the parameter key. |
String |
valueOfType()
Returns the value of the parameter type. |
String |
valueOfValue()
Returns the value of the parameter value. |
| Methods inherited from class org.jcoderz.commons.BaseRuntimeException |
|---|
addParameter, getCause, getEventTime, getInstanceId, getLogMessageInfo, getMessage, getNodeId, getParameter, getParameterNames, getSourceClass, getSourceMethod, getThreadId, getThreadName, getTrackingNumber, initCause, log, logCreation, toDetailedString, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public ConfigurationTypeConversionFailedException(String value,
ConfigurationKey key,
String type,
Throwable cause)
value - The value used in the message.key - The key used in the message.type - The type used in the message.cause - the cause of this exception.
public ConfigurationTypeConversionFailedException(String value,
ConfigurationKey key,
String type)
value - The value used in the message.key - The key used in the message.type - The type used in the message.protected ConfigurationTypeConversionFailedException(CfgLogMessage messageInfo)
messageInfo - the log message info for this exception
protected ConfigurationTypeConversionFailedException(CfgLogMessage messageInfo,
Throwable cause)
messageInfo - the log message info for this exceptioncause - the problem that caused this exception to be thrown| Method Detail |
|---|
public String valueOfValue()
public ConfigurationKey valueOfKey()
public String valueOfType()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||