com.arsdigita.developersupport
Class StackTrace

java.lang.Object
  extended byjava.lang.Throwable
      extended bycom.arsdigita.developersupport.StackTrace
All Implemented Interfaces:
Serializable

public final class StackTrace
extends Throwable

You can use this class for capturing and logging timestamped stack traces. In addition to the actual stack trace, instances of this class "remember" the name of the thread in which they were instantiated.

Since:
2003-12-22
Version:
$Id: //core-platform/dev/src/com/arsdigita/developersupport/StackTrace.java#3 $
Author:
Vadim Nasardinov (vadimn@redhat.com)
See Also:
Serialized Form

Constructor Summary
StackTrace()
           
 
Method Summary
 String getMessage()
          Returns both the thread name and the timestamp.
 String getThreadName()
           
 Date getTimestamp()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StackTrace

public StackTrace()
Method Detail

getMessage

public String getMessage()
Returns both the thread name and the timestamp.


getThreadName

public String getThreadName()

getTimestamp

public Date getTimestamp()


Copyright (c) 2004 Red Hat, Inc. Corporation. All Rights Reserved. Generated at July 20 2004:2337 UTC