|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.karmasphere.share.util.ExceptionUtil
public class ExceptionUtil
| Constructor Summary | |
|---|---|
ExceptionUtil()
|
|
| Method Summary | |
|---|---|
static void |
print(Throwable t)
Prints the stack trace of a Throwable, with all causes. |
static void |
print(Throwable t,
PrintStream out)
Prints the stack trace of a Throwable, with all causes. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ExceptionUtil()
| Method Detail |
|---|
public static void print(Throwable t,
PrintStream out)
Throwable, with all causes.
The functionality of this method would be obvious if all
exceptions conformed to the chained exception standard.
However, they don't, so this method special cases the
exception types (we know about) which don't return a
valid cause from Throwable.getCause().
Some uninteresting exceptions, like InvocationTargetException, are skipped.
public static void print(Throwable t)
Throwable, with all causes.
This method is equivalent to print(t, System.err).
print(Throwable,PrintStream)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||