Klasse ThrowableFormatter

java.lang.Object
application.util.ThrowableFormatter

public final class ThrowableFormatter extends Object
Utility methods for rendering Throwable instances as text.
  • Methodendetails

    • toStackTrace

      public static String toStackTrace(Throwable throwable)
      Converts the supplied Throwable into its full stack trace text.
      Parameter:
      throwable - the exception or error to render
      Gibt zurück:
      the complete stack trace as a string