org.jcoderz.commons
Class RteLogMessage

java.lang.Object
  extended by org.jcoderz.commons.LogMessageInfoImpl
      extended by org.jcoderz.commons.RteLogMessage
All Implemented Interfaces:
Serializable, LogMessageInfo
Direct Known Subclasses:
RteLogMessage.ArgumentFractionDigitsViolation, RteLogMessage.ArgumentMalformed, RteLogMessage.ArgumentMaxLengthViolation, RteLogMessage.ArgumentMaxValueViolation, RteLogMessage.ArgumentMinLengthViolation, RteLogMessage.ArgumentMinValueViolation, RteLogMessage.ArgumentPatternViolation, RteLogMessage.AssertionFailed, RteLogMessage.DatabaseAccessFailed, RteLogMessage.DatabaseIntegrityError, RteLogMessage.ExceptionCreated, RteLogMessage.InconsistentDatabase, RteLogMessage.InternalError, RteLogMessage.RemoteCallFailure, RteLogMessage.RuntimeExceptionCreated, RteLogMessage.UnexpectedException

public abstract class RteLogMessage
extends LogMessageInfoImpl

Enumeration of all Runtime Error log messages.

Instances of this class are immutable.

The following Runtime Error are defined:

Author:
generated
See Also:
Serialized Form

Nested Class Summary
static class RteLogMessage.ArgumentFractionDigitsViolation
          The given argument is at least partly malformed.
static class RteLogMessage.ArgumentMalformed
          The given argument is at least partly malformed.
static class RteLogMessage.ArgumentMaxLengthViolation
          The given argument is at least partly malformed.
static class RteLogMessage.ArgumentMaxValueViolation
          The given argument is at least partly malformed.
static class RteLogMessage.ArgumentMinLengthViolation
          The given argument is at least partly malformed.
static class RteLogMessage.ArgumentMinValueViolation
          The given argument is at least partly malformed.
static class RteLogMessage.ArgumentPatternViolation
          The given argument is at least partly malformed.
static class RteLogMessage.AssertionFailed
          Assertion failed.
static class RteLogMessage.DatabaseAccessFailed
          The system encountered an exception while accessing a database. .
static class RteLogMessage.DatabaseIntegrityError
          While accessing table {TABLE}, the following problem was encountered: {PROBLEM}. .
static class RteLogMessage.ExceptionCreated
          An Exception with symbol {SYMBOL} has been created.
static class RteLogMessage.InconsistentDatabase
          A value read from the database was invalid.
static class RteLogMessage.InternalError
          The system encountered an unexpected condition, or contains a software bug.
static class RteLogMessage.RemoteCallFailure
          The call to a internal remote object failed. .
static class RteLogMessage.RuntimeExceptionCreated
          An RuntimeException with symbol {SYMBOL} has been created.
static class RteLogMessage.UnexpectedException
          An exeption occured that was not expected in the current code. .
 
Field Summary
static RteLogMessage.ArgumentFractionDigitsViolation ARGUMENT_FRACTION_DIGITS_VIOLATION
          The log message for the event ARGUMENT_FRACTION_DIGITS_VIOLATION.
static RteLogMessage.ArgumentMalformed ARGUMENT_MALFORMED
          The log message for the event ARGUMENT_MALFORMED.
static RteLogMessage.ArgumentMaxLengthViolation ARGUMENT_MAX_LENGTH_VIOLATION
          The log message for the event ARGUMENT_MAX_LENGTH_VIOLATION.
static RteLogMessage.ArgumentMaxValueViolation ARGUMENT_MAX_VALUE_VIOLATION
          The log message for the event ARGUMENT_MAX_VALUE_VIOLATION.
static RteLogMessage.ArgumentMinLengthViolation ARGUMENT_MIN_LENGTH_VIOLATION
          The log message for the event ARGUMENT_MIN_LENGTH_VIOLATION.
static RteLogMessage.ArgumentMinValueViolation ARGUMENT_MIN_VALUE_VIOLATION
          The log message for the event ARGUMENT_MIN_VALUE_VIOLATION.
static RteLogMessage.ArgumentPatternViolation ARGUMENT_PATTERN_VIOLATION
          The log message for the event ARGUMENT_PATTERN_VIOLATION.
static RteLogMessage.AssertionFailed ASSERTION_FAILED
          The log message for the event ASSERTION_FAILED.
static RteLogMessage.DatabaseAccessFailed DATABASE_ACCESS_FAILED
          The log message for the event DATABASE_ACCESS_FAILED.
static RteLogMessage.DatabaseIntegrityError DATABASE_INTEGRITY_ERROR
          The log message for the event DATABASE_INTEGRITY_ERROR.
static RteLogMessage.ExceptionCreated EXCEPTION_CREATED
          The log message for the event EXCEPTION_CREATED.
static RteLogMessage.InconsistentDatabase INCONSISTENT_DATABASE
          The log message for the event INCONSISTENT_DATABASE.
static RteLogMessage.InternalError INTERNAL_ERROR
          The log message for the event INTERNAL_ERROR.
static RteLogMessage.RemoteCallFailure REMOTE_CALL_FAILURE
          The log message for the event REMOTE_CALL_FAILURE.
static RteLogMessage.RuntimeExceptionCreated RUNTIME_EXCEPTION_CREATED
          The log message for the event RUNTIME_EXCEPTION_CREATED.
static RteLogMessage.UnexpectedException UNEXPECTED_EXCEPTION
          The log message for the event UNEXPECTED_EXCEPTION.
 
Method Summary
static RteLogMessage fromInt(int value)
          Factory method to create a RteLogMessage class from its integer representation.
static RteLogMessage fromString(String value)
          Factory method to create a RteLogMessage 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

INTERNAL_ERROR

public static final RteLogMessage.InternalError INTERNAL_ERROR
The log message for the event INTERNAL_ERROR.


ARGUMENT_MALFORMED

public static final RteLogMessage.ArgumentMalformed ARGUMENT_MALFORMED
The log message for the event ARGUMENT_MALFORMED.


ASSERTION_FAILED

public static final RteLogMessage.AssertionFailed ASSERTION_FAILED
The log message for the event ASSERTION_FAILED.


INCONSISTENT_DATABASE

public static final RteLogMessage.InconsistentDatabase INCONSISTENT_DATABASE
The log message for the event INCONSISTENT_DATABASE.


REMOTE_CALL_FAILURE

public static final RteLogMessage.RemoteCallFailure REMOTE_CALL_FAILURE
The log message for the event REMOTE_CALL_FAILURE.


DATABASE_INTEGRITY_ERROR

public static final RteLogMessage.DatabaseIntegrityError DATABASE_INTEGRITY_ERROR
The log message for the event DATABASE_INTEGRITY_ERROR.


DATABASE_ACCESS_FAILED

public static final RteLogMessage.DatabaseAccessFailed DATABASE_ACCESS_FAILED
The log message for the event DATABASE_ACCESS_FAILED.


ARGUMENT_MAX_LENGTH_VIOLATION

public static final RteLogMessage.ArgumentMaxLengthViolation ARGUMENT_MAX_LENGTH_VIOLATION
The log message for the event ARGUMENT_MAX_LENGTH_VIOLATION.


ARGUMENT_MIN_LENGTH_VIOLATION

public static final RteLogMessage.ArgumentMinLengthViolation ARGUMENT_MIN_LENGTH_VIOLATION
The log message for the event ARGUMENT_MIN_LENGTH_VIOLATION.


ARGUMENT_MAX_VALUE_VIOLATION

public static final RteLogMessage.ArgumentMaxValueViolation ARGUMENT_MAX_VALUE_VIOLATION
The log message for the event ARGUMENT_MAX_VALUE_VIOLATION.


ARGUMENT_MIN_VALUE_VIOLATION

public static final RteLogMessage.ArgumentMinValueViolation ARGUMENT_MIN_VALUE_VIOLATION
The log message for the event ARGUMENT_MIN_VALUE_VIOLATION.


ARGUMENT_PATTERN_VIOLATION

public static final RteLogMessage.ArgumentPatternViolation ARGUMENT_PATTERN_VIOLATION
The log message for the event ARGUMENT_PATTERN_VIOLATION.


ARGUMENT_FRACTION_DIGITS_VIOLATION

public static final RteLogMessage.ArgumentFractionDigitsViolation ARGUMENT_FRACTION_DIGITS_VIOLATION
The log message for the event ARGUMENT_FRACTION_DIGITS_VIOLATION.


UNEXPECTED_EXCEPTION

public static final RteLogMessage.UnexpectedException UNEXPECTED_EXCEPTION
The log message for the event UNEXPECTED_EXCEPTION.


EXCEPTION_CREATED

public static final RteLogMessage.ExceptionCreated EXCEPTION_CREATED
The log message for the event EXCEPTION_CREATED.


RUNTIME_EXCEPTION_CREATED

public static final RteLogMessage.RuntimeExceptionCreated RUNTIME_EXCEPTION_CREATED
The log message for the event RUNTIME_EXCEPTION_CREATED.

Method Detail

fromString

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

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

fromInt

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

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


Copyright 2007 The jCoderZ Project.