|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.netarkivet.common.utils.ExceptionUtils
public class ExceptionUtils
Utilities for reading a stacktrace.
Method Summary | |
---|---|
static java.lang.String |
getSQLExceptionCause(java.sql.SQLException e)
SQLExceptions have their own stack of causes accessed via the getNextException() method. |
static java.lang.String |
getStackTrace(java.lang.Throwable aThrowable)
Prints the stacktrace of an exception to a String. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static java.lang.String getStackTrace(java.lang.Throwable aThrowable)
aThrowable
- An exception
public static java.lang.String getSQLExceptionCause(java.sql.SQLException e)
e
- the original top-level exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |