Package com.nt.udc.exceptions
Class ExceptionUtils
java.lang.Object
com.nt.udc.exceptions.ExceptionUtils
Contains some simple exception-related utilities.
-
Constructor Details
-
ExceptionUtils
public ExceptionUtils()
-
-
Method Details
-
throwableToString
Converts a Throwable to a String, pulling out some of the interesting Throwable information.- Parameters:
e
- Throwable- Returns:
- Throwable info, as a String object
-
stackTraceToString
Converts a stack trace from a Throwable to a String.- Parameters:
e
- Throwable containing the stack trace- Returns:
- stack trace as a String object
-