- toString
Return the stack trace in a String.
- baseException
Get to the base exception (if any).
- exceptionFollowedByRootCausesToString
Utility method for converting an exception and all chained root causes into a
string. Unlike excepti
- getCallAt
Return the "nth" method call from the stack trace of "t", where 0 is the top.
- getStackTraceLines
return the top n lines of this stack trace.Example:
ExceptionUtil.getStackTraceLines(exception, 10);
- getStackTraceUpTo
Return the stack trace up to the first line that starts with prefix.Example:
ExceptionUtil.getStackT
- printExceptionStack
Recursively prints out a stack of wrapped exceptions.
- wrappedException
Get the wrapped Exception object from the Throwable object.