Package com.uwyn.jhighlight.tools
Class ExceptionUtils
- java.lang.Object
-
- com.uwyn.jhighlight.tools.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.
-
-
-
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
-
-