Class Throwables.ThrowableFormatter

java.lang.Object
com.pnfsoftware.jeb.util.base.Throwables.ThrowableFormatter
Enclosing class:
Throwables

public static class Throwables.ThrowableFormatter extends Object
Formatter for throwable stack traces.
  • Constructor Details

    • ThrowableFormatter

      public ThrowableFormatter(boolean escapeTokens)
      Create a formatter.
      Parameters:
      escapeTokens - true to escape formatted class, method, file, and message tokens
  • Method Details

    • format

      public String format(Throwable t)
      Format a throwable and its causes.
      Parameters:
      t - throwable to format
      Returns:
      formatted stack trace