| 
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jboss.util.NestedThrowable.Util
Utilitiy methods for the various flavors of
 NestedThrowable.
| Constructor Summary | |
NestedThrowable.Util()
 | 
|
| Method Summary | |
static void | 
checkNested(NestedThrowable parent,
            Throwable child)
Check and possibly warn if the nested exception type is the same as the parent type (duplicate nesting).  | 
protected static boolean | 
getBoolean(String name,
           boolean defaultValue)
A helper to get a boolean property.  | 
static String | 
getMessage(String msg,
           Throwable nested)
Returns a formated message for the given detail message and nested Throwable. | 
static void | 
print(Throwable nested,
      PrintStream stream)
Prints the nested Throwable to the given stream. | 
static void | 
print(Throwable nested,
      PrintWriter writer)
Prints the nested Throwable to the given writer. | 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
public NestedThrowable.Util()
| Method Detail | 
protected static boolean getBoolean(String name,
                                    boolean defaultValue)
public static void checkNested(NestedThrowable parent,
                               Throwable child)
public static String getMessage(String msg,
                                Throwable nested)
Throwable.
msg - Detail message.nested - Nested Throwable.
public static void print(Throwable nested,
                         PrintStream stream)
Throwable to the given stream.
nested - Nested Throwable.stream - Stream to print to.
public static void print(Throwable nested,
                         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 | ||||||||||