|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectch.javasoft.lang.reflect.StackTrace
public class StackTrace
The StackTrace class determines the StackTraceElement of
any of the calling methods.
| Method Summary | |
|---|---|
static StackTraceElement |
getCurrentMethodStackTraceElement()
Returns the stack trace element belonging to the direct caller method, that is the method which invokes this method. |
static StackTraceElement |
getCurrentMethodStackTraceElement(int callerOffset)
Returns the stack trace element belonging to the callerOffset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static StackTraceElement getCurrentMethodStackTraceElement()
public static StackTraceElement getCurrentMethodStackTraceElement(int callerOffset)
callerOffsetth caller of the calling
method.
- Parameters:
callerOffset - The index of the caller of the method which
invokes this method
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||