Class StackTrace

java.lang.Object
org.apache.drill.common.StackTrace

public class StackTrace extends Object
Convenient way of obtaining and manipulating stack traces for debugging.
  • Constructor Details

    • StackTrace

      public StackTrace()
      Constructor. Captures the current stack trace.
  • Method Details

    • writeToBuilder

      public void writeToBuilder(StringBuilder sb, int indent)
      Write the stack trace to a StringBuilder.
      Parameters:
      sb - where to write it
      indent - how many double spaces to indent each line
    • toString

      public String toString()
      Overrides:
      toString in class Object