|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
wt.util.DebugStackTrace
public class DebugStackTrace
A debug utility for printing debug messages with a stack trace.
Supported API: true
Extendable false
| Constructor Summary | |
|---|---|
DebugStackTrace(String msg)
Constructs a new DebugStackTrace object with the associated message Supported API: true |
|
| Method Summary | |
|---|---|
static String |
getCallStack(int depth)
Returns specific depth of calls as a comma separated String. |
static void |
println(String msg)
Prints a debug message to System.out along with a stack trace. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DebugStackTrace(String msg)
msg - a message to include in print| Method Detail |
|---|
public static void println(String msg)
msg - a message to include in printpublic static String getCallStack(int depth)
depth - the number stack elements to include;
a value of zero will include entire stack
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||