|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.gargoylesoftware.base.trace.TraceItem
An item of data to be written.
Constructor Summary | |
TraceItem()
Create a new item. |
Method Summary | |
protected void |
assertNotNull(String fieldName,
Object fieldValue)
Verify that the specified value is not null. |
Object |
clone()
Return a copy of this object. |
boolean |
containsText()
Return true if this item contains any text. |
TraceChannel |
getChannel()
Return the channel. |
Object |
getLock()
Return the lock. |
String |
getMessage()
Return the message. |
TraceItem |
getNextItem()
Return the next item. |
TraceItem |
getPrevItem()
Return the previous item. |
String |
getThreadName()
Return the name of the thread that called Trace. |
Throwable |
getThrowable()
Return the throwable. |
Date |
getTime()
Return the time that the item was written to Trace |
String |
toString()
Return a string representation of this object for testing purposes. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public TraceItem()
Method Detail |
public String toString()
public boolean containsText()
public String getMessage()
public Throwable getThrowable()
public Date getTime()
public String getThreadName()
public Object getLock()
public TraceItem getPrevItem()
public TraceItem getNextItem()
public TraceChannel getChannel()
public Object clone() throws CloneNotSupportedException
CloneNotSupportedException
- If this object is not cloneable.protected final void assertNotNull(String fieldName, Object fieldValue) throws DetailedNullPointerException
fieldName
- The name of the field to checkfieldValue
- The value of the field to check
DetailedNullPointerException
- If fieldValue is null
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |