atg.nucleus.logging
Class WarningLogEvent

java.lang.Object
  extended by atg.nucleus.logging.LogEvent
      extended by atg.nucleus.logging.WarningLogEvent

public class WarningLogEvent
extends LogEvent

A warning log event that can take a message, a Throwable, or both.


Field Summary
static java.lang.String CLASS_VERSION
          Class version string
 
Constructor Summary
WarningLogEvent(java.lang.String pMessage)
          Constructs a WarningLogEvent with the given message.
WarningLogEvent(java.lang.String pMessage, java.lang.String pOriginator)
          Constructs a WarningLogEvent with the given message and originator
WarningLogEvent(java.lang.String pMessage, java.lang.String pOriginator, java.lang.Throwable pThrowable)
          Constructs a WarningLogEvent with the given message, originator and throwable
WarningLogEvent(java.lang.String pMessage, java.lang.Throwable pThrowable)
          Constructs a WarningLogEvent with the given message and throwable
 
Method Summary
 java.lang.String getIdentifier()
          Returns the String identifier for this type of log event.
 
Methods inherited from class atg.nucleus.logging.LogEvent
getDateTimeStamp, getMessage, getNullObjectReplacement, getOriginator, getThrowable, getTimeStamp, getTokenSeperator, setNullObjectReplacement, setTokenSeperator, toString, toStringBuffer, writeLogLinePrefix, writeLogMessage, writeOriginatorPrefix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string

Constructor Detail

WarningLogEvent

public WarningLogEvent(java.lang.String pMessage)
Constructs a WarningLogEvent with the given message.


WarningLogEvent

public WarningLogEvent(java.lang.String pMessage,
                       java.lang.String pOriginator)
Constructs a WarningLogEvent with the given message and originator


WarningLogEvent

public WarningLogEvent(java.lang.String pMessage,
                       java.lang.Throwable pThrowable)
Constructs a WarningLogEvent with the given message and throwable


WarningLogEvent

public WarningLogEvent(java.lang.String pMessage,
                       java.lang.String pOriginator,
                       java.lang.Throwable pThrowable)
Constructs a WarningLogEvent with the given message, originator and throwable

Method Detail

getIdentifier

public java.lang.String getIdentifier()
Returns the String identifier for this type of log event.

Overrides:
getIdentifier in class LogEvent