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 ofExceptionUtils
to be created, although that is not normally necessary. -
Method Summary
Modifier and TypeMethodDescriptionstatic String
getStackTrace
(Throwable throwable) Gets the stack trace from a Throwable as a String.
-
Constructor Details
-
ExceptionUtils
public ExceptionUtils()Public constructor allows an instance of
ExceptionUtils
to be created, although that is not normally necessary.
-
-
Method Details
-
getStackTrace
Gets the stack trace from a Throwable as a String.
- Parameters:
throwable
- theThrowable
to be examined- Returns:
- the stack trace as generated by the exception's
printStackTrace(PrintWriter)
method
-