|
AXL Software™ | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
ObjectStackTrace
Class to handle stack traces.
| Constructor Summary | |
StackTrace()
|
|
| Method Summary | |
String |
getFrom()
Get the trace information on our caller. |
String |
getFrom(int back)
Get the trace information on our caller. |
static String |
getStackTrace()
Return a stack trace from the current process. |
static String |
getStackTrace(Throwable th)
Return a stack trace from a Throwable or Exeption object. |
static boolean |
isRecursing(String method)
Check for recursion of the named method. |
static void |
main(String[] a)
|
String |
toString()
|
| Methods inherited from class Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public StackTrace()
| Method Detail |
public String getFrom()
public String getFrom(int back)
back - Levels back we need to see.
Each level corresponds to a method call.
For example if getting the value in a debugging method
and you need to know where it the original line is from
use a 'back' value of 1.
public static String getStackTrace()
public static String getStackTrace(Throwable th)
th - Throwable or Exception.
public static boolean isRecursing(String method)
method - Name of method hopefully including the class name.
If the method name is incorrect recursion will never be detected.
public static final void main(String[] a)
public String toString()
|
AXL Software™ | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||