public class ExceptionUtils extends Object
Constructor and Description |
---|
ExceptionUtils() |
Modifier and Type | Method and Description |
---|---|
static void |
dumpStack(PrintStream out) |
static void |
dumpStack(PrintStream out,
int skip,
int depth) |
static void |
dumpStack(PrintStream out,
StackTraceElement[] stack,
int skip,
int depth) |
static void |
dumpStack(PrintStream out,
Throwable t,
int skip,
int depth) |
static void |
dumpThrowable(String additionalDescr,
Throwable t)
Dumps a
Throwable in a decorating message including the current thread name,
and its stack trace . |
public static void dumpStack(PrintStream out)
public static void dumpStack(PrintStream out, int skip, int depth)
public static void dumpStack(PrintStream out, Throwable t, int skip, int depth)
public static void dumpStack(PrintStream out, StackTraceElement[] stack, int skip, int depth)
public static void dumpThrowable(String additionalDescr, Throwable t)
Throwable
in a decorating message including the current thread name,
and its stack trace
.
Implementation will iterate through all causes
.