Class ExceptionUtils
java.lang.Object
org.apache.fulcrum.yaafi.framework.util.ExceptionUtils
A subset of the utilities available in commons-lang-2.1 ExceptionUtils.
- Author:
- Siegfried Goeschl
-
Constructor Summary
ConstructorsConstructorDescriptionPublic constructor allows an instance ofExceptionUtilsto be created, although that is not normally necessary. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringgetStackTrace(Throwable throwable) Gets the stack trace from a Throwable as a String.
-
Constructor Details
-
ExceptionUtils
public ExceptionUtils()Public constructor allows an instance of
ExceptionUtilsto be created, although that is not normally necessary.
-
-
Method Details
-
getStackTrace
Gets the stack trace from a Throwable as a String.
- Parameters:
throwable- theThrowableto be examined- Returns:
- the stack trace as generated by the exception's
printStackTrace(PrintWriter)method
-