org.fest.util
Class StackTraces

java.lang.Object
  extended by org.fest.util.StackTraces

public class StackTraces
extends Object

Understands utility methods related to stack traces.

Since:
1.1.2
Author:
Alex Ruiz

Constructor Summary
StackTraces()
          Creates a new StackTraces.
 
Method Summary
static StackTraces instance()
          Returns the singleton instance of this class.
 StackTraceElement[] stackTraceInCurrentThread()
          Returns the stack trace for the current thread.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackTraces

public StackTraces()
Creates a new StackTraces.

Method Detail

instance

public static StackTraces instance()
Returns the singleton instance of this class.

Returns:
the singleton instance of this class.

stackTraceInCurrentThread

public StackTraceElement[] stackTraceInCurrentThread()
Returns the stack trace for the current thread.

Returns:
the stack trace for the current thread.


Copyright © 2007-2011 FEST (Fixtures for Easy Software Testing). All Rights Reserved.