dsto.dfc.logging
Class LogEvent

java.lang.Object
  extended by java.util.EventObject
      extended by dsto.dfc.logging.LogEvent
All Implemented Interfaces:
Serializable

public class LogEvent
extends EventObject

See Also:
Serialized Form

Field Summary
 
Fields inherited from class java.util.EventObject
source
 
Constructor Summary
LogEvent(Object source, int type, String message)
           
LogEvent(Object source, int type, String message, Date time)
           
LogEvent(Object source, int type, String message, Date time, Throwable exception)
           
LogEvent(Object source, int type, String message, Throwable ex)
           
 
Method Summary
 Throwable getException()
           
 String getMessage()
           
 Class getSourceClass()
          Get the class that raised this log message.
 Date getTime()
           
 int getType()
           
 
Methods inherited from class java.util.EventObject
getSource, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogEvent

public LogEvent(Object source,
                int type,
                String message)

LogEvent

public LogEvent(Object source,
                int type,
                String message,
                Throwable ex)

LogEvent

public LogEvent(Object source,
                int type,
                String message,
                Date time)

LogEvent

public LogEvent(Object source,
                int type,
                String message,
                Date time,
                Throwable exception)
Method Detail

getMessage

public String getMessage()

getType

public int getType()

getTime

public Date getTime()

getException

public Throwable getException()

getSourceClass

public Class getSourceClass()
Get the class that raised this log message.



Copyright © 2008 Commonwealth of Australia