Package org.codelibs.jhighlight.tools
Class ExceptionUtils
- java.lang.Object
-
- org.codelibs.jhighlight.tools.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 Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
getExceptionStackTrace(Throwable exception)
Obtains the entire stracktrace of an exception and converts it into a string.
-
-
-
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
-
-