Package wt.util
Class DebugStackTrace
java.lang.Object
java.lang.Throwable
java.lang.Exception
wt.util.DebugStackTrace
- All Implemented Interfaces:
Serializable
A debug utility for printing debug messages with a stack trace.
Supported API: true
Extendable false
Supported API: true
Extendable false
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDebugStackTrace(String msg) Constructs a new DebugStackTrace object with the associated message
Supported API: true -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetCallStack(int depth) Returns specific depth of calls as a comma separated String.static voidPrints a debug message to System.out along with a stack trace.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DebugStackTrace
Constructs a new DebugStackTrace object with the associated message
Supported API: true- Parameters:
msg- a message to include in print
-
-
Method Details
-
println
Prints a debug message to System.out along with a stack trace.
Supported API: true- Parameters:
msg- a message to include in print
-
getCallStack
Returns specific depth of calls as a comma separated String.
Supported API: true- Parameters:
depth- the number stack elements to include; a value of zero will include entire stack
-