Package wt.util

Class DebugStackTrace

All Implemented Interfaces:
Serializable

public class DebugStackTrace extends Exception
A debug utility for printing debug messages with a stack trace.

Supported API: true
Extendable false
See Also:
  • Constructor Details

    • DebugStackTrace

      public DebugStackTrace(String msg)
      Constructs a new DebugStackTrace object with the associated message

      Supported API: true
      Parameters:
      msg - a message to include in print
  • Method Details

    • println

      public static void println(String msg)
      Prints a debug message to System.out along with a stack trace.

      Supported API: true
      Parameters:
      msg - a message to include in print
    • getCallStack

      public static String getCallStack(int depth)
      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