Class ExceptionUtils

java.lang.Object
org.apache.fulcrum.yaafi.framework.util.ExceptionUtils

public class ExceptionUtils extends Object
A subset of the utilities available in commons-lang-2.1 ExceptionUtils.
Author:
Siegfried Goeschl
  • Constructor Details

    • ExceptionUtils

      public ExceptionUtils()

      Public constructor allows an instance of ExceptionUtils to be created, although that is not normally necessary.

  • Method Details

    • getStackTrace

      public static String getStackTrace(Throwable throwable)

      Gets the stack trace from a Throwable as a String.

      Parameters:
      throwable - the Throwable to be examined
      Returns:
      the stack trace as generated by the exception's printStackTrace(PrintWriter) method