org.jcoderz.commons
Class CmnLogMessage.EntityNotFound

java.lang.Object
  extended by org.jcoderz.commons.LogMessageInfoImpl
      extended by org.jcoderz.commons.CmnLogMessage
          extended by org.jcoderz.commons.CmnLogMessage.EntityNotFound
All Implemented Interfaces:
Serializable, LogMessageInfo
Enclosing class:
CmnLogMessage

public static final class CmnLogMessage.EntityNotFound
extends CmnLogMessage
implements Serializable

A database entry in table {TABLE} was not found. No rows were returned when executing the finder method ''{FINDER}'' with the argument(s) ''{Serializable:ARGUMENTS}'' on entity bean {ENTITY}. .

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

It holds the following parameters:

See Also:
Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from class org.jcoderz.commons.CmnLogMessage
CmnLogMessage.EntityNotFound
 
Field Summary
static int INT_VALUE
          The unique integer value of the log message ENTITY_NOT_FOUND.
static Level LOG_LEVEL
          The LogLevel to use.
static String PARAM_ARGUMENTS
          The parameter ARGUMENTS for the log message text.
static String PARAM_ENTITY
          The parameter ENTITY for the log message text.
static String PARAM_FINDER
          The parameter FINDER for the log message text.
static String PARAM_TABLE
          The parameter TABLE for the log message text.
static String SYMBOL
          The unique symbolic String of the log message ENTITY_NOT_FOUND.
 
Fields inherited from class org.jcoderz.commons.CmnLogMessage
ENTITY_NOT_FOUND
 
Method Summary
static Loggable addParameters(Loggable loggable, String table, String finder, Serializable arguments, String entity)
          Adds the given message parameters to the loggable.
 
Methods inherited from class org.jcoderz.commons.CmnLogMessage
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 ENTITY_NOT_FOUND.

See Also:
Constant Field Values

PARAM_TABLE

public static final String PARAM_TABLE
The parameter TABLE for the log message text.

See Also:
Constant Field Values

PARAM_FINDER

public static final String PARAM_FINDER
The parameter FINDER for the log message text.

See Also:
Constant Field Values

PARAM_ARGUMENTS

public static final String PARAM_ARGUMENTS
The parameter ARGUMENTS for the log message text.

See Also:
Constant Field Values

PARAM_ENTITY

public static final String PARAM_ENTITY
The parameter ENTITY for the log message text.

See Also:
Constant Field Values

SYMBOL

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

See Also:
Constant Field Values
description
A database entry in table {TABLE} was not found. No rows were returned when executing the finder method ''{FINDER}'' with the argument(s) ''{Serializable:ARGUMENTS}'' on entity bean {ENTITY}.
solution
Review the log file to determine if the usage of the Administration Tool led to the error. Create the requested value prior to using the Administration Tool or change the query used for retrieving the value via the Adminstration Tool.

LOG_LEVEL

public static final Level LOG_LEVEL
The LogLevel to use.

Method Detail

addParameters

public static Loggable addParameters(Loggable loggable,
                                     String table,
                                     String finder,
                                     Serializable arguments,
                                     String entity)
Adds the given message parameters to the loggable.

Parameters:
loggable - the loggable to initialize.
table - The table used in the message.
finder - The finder used in the message.
arguments - The arguments used in the message.
entity - The entity used in the message.
Returns:
the given initialized loggable.


Copyright 2007 The jCoderZ Project.