public class ExceptionUtils extends Object
Modifier and Type | Method and Description |
---|---|
static String |
getSQLExceptionCause(SQLException e)
SQLExceptions have their own stack of causes accessed via the getNextException() method.
|
static String |
getStackTrace(Throwable aThrowable)
Prints the stacktrace of an exception to a String.
|
public static String getStackTrace(Throwable aThrowable)
aThrowable
- An exceptionpublic static String getSQLExceptionCause(SQLException e)
e
- the original top-level exceptionCopyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.