Class NestedThrowable.Util
- java.lang.Object
-
- org.apache.xmlbeans.xml.stream.utils.NestedThrowable.Util
-
- Enclosing interface:
- NestedThrowable
public static class NestedThrowable.Util extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Util()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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
-
-