public final class StackTrace extends Object
Modifier and Type | Method and Description |
---|---|
static StackTraceElement |
firstElementBelowClass()
Returns the first element in the stack that does not originate from the class of the caller.
|
static StackTraceElement[] |
get()
Returns the current stack trace, starting with the invocation of this method (unlike
Thread.getStackTrace() ). |
public static StackTraceElement[] get()
Thread.getStackTrace()
).
public static StackTraceElement firstElementBelowClass()
Copyright © 2012-2013. All Rights Reserved.