|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--org.huihoo.jfox.ejb.exception.NestedThrowable.Util
///////////////////////////////////////////////////////////////////////
Nested Throwable Utilities //
///////////////////////////////////////////////////////////////////////
Utilitiy methods for the various flavors of
NestedThrowable.
| Constructor Summary | |
NestedThrowable.Util()
|
|
| Method Summary | |
static void |
checkNested(NestedThrowable parent,
java.lang.Throwable child)
Check and possibly warn if the nested exception type is the same as the parent type (duplicate nesting). |
static java.lang.String |
getMessage(java.lang.String msg,
java.lang.Throwable nested)
Returns a formated message for the given detail message and nested Throwable. |
static void |
print(java.lang.Throwable nested,
java.io.PrintStream stream)
Prints the nested Throwable to the given stream. |
static void |
print(java.lang.Throwable nested,
java.io.PrintWriter writer)
Prints the nested Throwable to the given writer. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NestedThrowable.Util()
| Method Detail |
public static void checkNested(NestedThrowable parent,
java.lang.Throwable child)
parent - child -
public static java.lang.String getMessage(java.lang.String msg,
java.lang.Throwable nested)
Throwable.
msg - Detail message.nested - Nested Throwable.
public static void print(java.lang.Throwable nested,
java.io.PrintStream stream)
Throwable to the given stream.
nested - Nested Throwable.stream - Stream to print to.
public static void print(java.lang.Throwable nested,
java.io.PrintWriter writer)
Throwable to the given writer.
nested - Nested Throwable.writer - Writer to print to.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||