Class ExceptionUtils


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

      Constructors 
      Modifier Constructor Description
      private ExceptionUtils()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.lang.String getExceptionStackTrace​(java.lang.Throwable exception)
      Obtains the entire stracktrace of an exception and converts it into a string.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExceptionUtils

        private ExceptionUtils()
    • Method Detail

      • getExceptionStackTrace

        public static java.lang.String getExceptionStackTrace​(java.lang.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