Class ExceptionUtils

java.lang.Object
com.uwyn.jhighlight.tools.ExceptionUtils

public abstract class ExceptionUtils extends Object
Collection of utility methods to work with exceptions.
Since:
1.0
Version:
$Revision: 3108 $
  • Constructor Details

    • ExceptionUtils

      private ExceptionUtils()
  • Method Details

    • getExceptionStackTrace

      public static String getExceptionStackTrace(Throwable exception)
      Obtains the entire stracktrace of an exception and converts it into a string.
      Parameters:
      exception - the exception whose stacktrace has to be converted
      Returns:
      the stracktrace, converted into a string
      Since:
      1.0