org.jcoderz.commons
Class CmnLogMessage

java.lang.Object
  extended by org.jcoderz.commons.LogMessageInfoImpl
      extended by org.jcoderz.commons.CmnLogMessage
All Implemented Interfaces:
Serializable, LogMessageInfo
Direct Known Subclasses:
CmnLogMessage.EntityNotFound

public abstract class CmnLogMessage
extends LogMessageInfoImpl

Enumeration of all Common Error log messages.

Instances of this class are immutable.

The following Common Error are defined:

Author:
generated
See Also:
Serialized Form

Nested Class Summary
static class CmnLogMessage.EntityNotFound
          A database entry in table {TABLE} was not found.
 
Field Summary
static CmnLogMessage.EntityNotFound ENTITY_NOT_FOUND
          The log message for the event ENTITY_NOT_FOUND.
 
Method Summary
static CmnLogMessage fromInt(int value)
          Factory method to create a CmnLogMessage class from its integer representation.
static CmnLogMessage fromString(String value)
          Factory method to create a CmnLogMessage class from its string representation.
 
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

ENTITY_NOT_FOUND

public static final CmnLogMessage.EntityNotFound ENTITY_NOT_FOUND
The log message for the event ENTITY_NOT_FOUND.

Method Detail

fromString

public static final CmnLogMessage fromString(String value)
Factory method to create a CmnLogMessage class from its string representation.

Parameters:
value - the string representation.
Returns:
CmnLogMessage class from its string representation.

fromInt

public static final CmnLogMessage fromInt(int value)
Factory method to create a CmnLogMessage class from its integer representation.

Parameters:
value - the integer representation.
Returns:
CmnLogMessage class from its integer representation.


Copyright 2007 The jCoderZ Project.