org.jcoderz.commons.config
Class CfgLogMessage.ConfigurationTypeConversionFailed

java.lang.Object
  extended by org.jcoderz.commons.LogMessageInfoImpl
      extended by org.jcoderz.commons.config.CfgLogMessage
          extended by org.jcoderz.commons.config.CfgLogMessage.ConfigurationTypeConversionFailed
All Implemented Interfaces:
Serializable, LogMessageInfo
Enclosing class:
CfgLogMessage

public static final class CfgLogMessage.ConfigurationTypeConversionFailed
extends CfgLogMessage
implements Serializable

Config value {VALUE} for key {org.jcoderz.commons.config.ConfigurationKey:KEY} could not be converted to type {TYPE}. .

This class holds the static data for the CONFIGURATION_TYPE_CONVERSION_FAILED log message.

It holds the following parameters:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jcoderz.commons.config.CfgLogMessage
CfgLogMessage.ConfigurationFactoryFailed, CfgLogMessage.ConfigurationInitializationFailed, CfgLogMessage.ConfigurationTypeConversionFailed, CfgLogMessage.ConfigurationValueNotFound, CfgLogMessage.ConfigurationValueRead
 
Field Summary
static int INT_VALUE
          The unique integer value of the log message CONFIGURATION_TYPE_CONVERSION_FAILED.
static Level LOG_LEVEL
          The LogLevel to use.
static String PARAM_KEY
          The parameter KEY for the log message text.
static String PARAM_TYPE
          The parameter TYPE for the log message text.
static String PARAM_VALUE
          The parameter VALUE for the log message text.
static String SYMBOL
          The unique symbolic String of the log message CONFIGURATION_TYPE_CONVERSION_FAILED.
 
Fields inherited from class org.jcoderz.commons.config.CfgLogMessage
CONFIGURATION_FACTORY_FAILED, CONFIGURATION_INITIALIZATION_FAILED, CONFIGURATION_TYPE_CONVERSION_FAILED, CONFIGURATION_VALUE_NOT_FOUND, CONFIGURATION_VALUE_READ
 
Method Summary
static Loggable addParameters(Loggable loggable, String value, ConfigurationKey key, String type)
          Adds the given message parameters to the loggable.
 
Methods inherited from class org.jcoderz.commons.config.CfgLogMessage
fromInt, fromString
 
Methods inherited from class org.jcoderz.commons.LogMessageInfoImpl
formatMessage, getAppName, getAppNameAbbreviation, getBusinessImpact, getCategory, getGroupName, getGroupNameAbbreviation, getLogLevel, getMessagePattern, getParameterList, getSolution, getSymbol, toInt, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

INT_VALUE

public static final int INT_VALUE
The unique integer value of the log message CONFIGURATION_TYPE_CONVERSION_FAILED.

See Also:
Constant Field Values

PARAM_VALUE

public static final String PARAM_VALUE
The parameter VALUE for the log message text.

See Also:
Constant Field Values

PARAM_KEY

public static final String PARAM_KEY
The parameter KEY for the log message text.

See Also:
Constant Field Values

PARAM_TYPE

public static final String PARAM_TYPE
The parameter TYPE for the log message text.

See Also:
Constant Field Values

SYMBOL

public static final String SYMBOL
The unique symbolic String of the log message CONFIGURATION_TYPE_CONVERSION_FAILED.

See Also:
Constant Field Values
description
Config value {VALUE} for key {org.jcoderz.commons.config.ConfigurationKey:KEY} could not be converted to type {TYPE}.
solution
Review the nested exception(s) to determine the problem that led to the error condition. If appropriate, contact the support.

LOG_LEVEL

public static final Level LOG_LEVEL
The LogLevel to use.

Method Detail

addParameters

public static Loggable addParameters(Loggable loggable,
                                     String value,
                                     ConfigurationKey key,
                                     String type)
Adds the given message parameters to the loggable.

Parameters:
loggable - the loggable to initialize.
value - The value used in the message.
key - The key used in the message.
type - The type used in the message.
Returns:
the given initialized loggable.


Copyright 2007 The jCoderZ Project.