Package overit.geocall.util
Class StackTrace
java.lang.Object
overit.geocall.util.StackTrace
Utility class used to manage the stack trace.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StackTraceElementcaller()Returns the stack trace element representing the stack dump of the caller thread.static StackTraceElementhere()Returns the stack trace element representing the stack dump of this thread.static StackTraceElementpickup(int stackPosition) Returns the stack trace element in the stack position representing the stack dump of this thread.
-
Method Details
-
here
Returns the stack trace element representing the stack dump of this thread.- Returns:
- a
StackTraceElementthat represents one stack frame.
-
caller
Returns the stack trace element representing the stack dump of the caller thread.- Returns:
- a
StackTraceElementthat represents one stack frame.
-
pickup
Returns the stack trace element in the stack position representing the stack dump of this thread.- Parameters:
stackPosition- The position of the stack- Returns:
- a
StackTraceElementthat represents one stack frame.
-