org.apache.xmlbeans.xml.stream.utils
Class NestedThrowable.Util

java.lang.Object
  extended by org.apache.xmlbeans.xml.stream.utils.NestedThrowable.Util
Enclosing interface:
NestedThrowable

public static class NestedThrowable.Util
extends java.lang.Object


Constructor Summary
NestedThrowable.Util()
           
 
Method Summary
static void printStackTrace(NestedThrowable nt, java.io.PrintStream s)
          Prints the stack trace associated with this exception and its nested exception.
static void printStackTrace(NestedThrowable nt, java.io.PrintWriter w)
          Prints the stack trace associated with this exception and its nested exception.
static java.lang.String toString(NestedThrowable nt)
          Prints the exception message and its nested exception message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NestedThrowable.Util

public NestedThrowable.Util()
Method Detail

toString

public static java.lang.String toString(NestedThrowable nt)
Prints the exception message and its nested exception message.

Returns:
String representation of the exception

printStackTrace

public static void printStackTrace(NestedThrowable nt,
                                   java.io.PrintStream s)
Prints the stack trace associated with this exception and its nested exception.

Parameters:
s - PrintStream

printStackTrace

public static void printStackTrace(NestedThrowable nt,
                                   java.io.PrintWriter w)
Prints the stack trace associated with this exception and its nested exception.

Parameters:
w - PrintWriter