Class StackTraceFormatter


  • public class StackTraceFormatter
    extends Object
    Formatter used to format the stack trace of an exception.
    Author:
    James R. Perkins
    • Method Detail

      • renderStackTrace

        public static void renderStackTrace​(StringBuilder builder,
                                            Throwable t,
                                            int suppressedDepth)
        Writes the stack trace into the builder.
        Parameters:
        builder - the string builder ot append the stack trace to
        t - the throwable to render
        suppressedDepth - the number of suppressed messages to include