|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jcoderz.commons.LogMessageInfoImpl
org.jcoderz.commons.RteLogMessage
org.jcoderz.commons.RteLogMessage.RuntimeExceptionCreated
public static final class RteLogMessage.RuntimeExceptionCreated
An RuntimeException with symbol {SYMBOL} has been created. Exception Message is: {MESSAGE} .
This class holds the static data for the RUNTIME_EXCEPTION_CREATED
log message.
It holds the following parameters:
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
static int |
INT_VALUE
The unique integer value of the log message RUNTIME_EXCEPTION_CREATED. |
static Level |
LOG_LEVEL
The LogLevel to use. |
static String |
PARAM_MESSAGE
The parameter MESSAGE for the log message text. |
static String |
PARAM_SYMBOL
The parameter SYMBOL for the log message text. |
static String |
SYMBOL
The unique symbolic String of the log message RUNTIME_EXCEPTION_CREATED. |
| Method Summary | |
|---|---|
static Loggable |
addParameters(Loggable loggable,
String symbol,
String message)
Adds the given message parameters to the loggable. |
static void |
log(String symbol,
String message)
Logs the message "An RuntimeException with symbol {SYMBOL} has been created. |
static void |
log(String symbol,
String message,
Throwable cause)
Logs the message "An RuntimeException with symbol {SYMBOL} has been created. |
| Methods inherited from class org.jcoderz.commons.RteLogMessage |
|---|
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 |
|---|
public static final int INT_VALUE
RUNTIME_EXCEPTION_CREATED.
public static final String PARAM_SYMBOL
SYMBOL for the log message text.
public static final String PARAM_MESSAGE
MESSAGE for the log message text.
public static final String SYMBOL
RUNTIME_EXCEPTION_CREATED.
public static final Level LOG_LEVEL
| Method Detail |
|---|
public static void log(String symbol,
String message)
symbol - The symbol used in the message.message - The message used in the message.
public static void log(String symbol,
String message,
Throwable cause)
symbol - The symbol used in the message.message - The message used in the message.cause - the Throwable that causes this message to be logged.
public static Loggable addParameters(Loggable loggable,
String symbol,
String message)
loggable - the loggable to initialize.symbol - The symbol used in the message.message - The message used in the message.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||