Class ExceptionUtils


  • public abstract class ExceptionUtils
    extends Object
    Collection of utility methods to work with exceptions.
    Since:
    1.0
    Version:
    $Revision: 3108 $
    Author:
    Geert Bevin (gbevin[remove] at uwyn dot com)
    • Method Detail

      • 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