public class XMLStreamException extends java.io.IOException implements NestedThrowable
NestedThrowable.Util
Constructor and Description |
---|
XMLStreamException() |
XMLStreamException(java.lang.String msg) |
XMLStreamException(java.lang.String msg,
java.lang.Throwable th) |
XMLStreamException(java.lang.Throwable th) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage() |
java.lang.Throwable |
getNested()
Gets the nested Throwable.
|
java.lang.Throwable |
getNestedException()
Gets the nested exception.
|
void |
printStackTrace()
Prints the stack trace associated with this exception and
its nested exception to System.err.
|
void |
printStackTrace(java.io.PrintStream s)
Prints the stack trace associated with this exception and
its nested exception.
|
void |
printStackTrace(java.io.PrintWriter w)
Prints the stack trace associated with this exception and
its nested exception.
|
void |
superPrintStackTrace(java.io.PrintStream ps)
Call super.printStackTrace().
|
void |
superPrintStackTrace(java.io.PrintWriter pw)
Call super.printStackTrace().
|
java.lang.String |
superToString()
Call super.toString().
|
java.lang.String |
toString()
Prints the exception message and its nested exception message.
|
public XMLStreamException()
public XMLStreamException(java.lang.String msg)
public XMLStreamException(java.lang.Throwable th)
public XMLStreamException(java.lang.String msg, java.lang.Throwable th)
public java.lang.Throwable getNestedException()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.Throwable getNested()
getNested
in interface NestedThrowable
public java.lang.String superToString()
NestedThrowable
superToString
in interface NestedThrowable
public void superPrintStackTrace(java.io.PrintStream ps)
NestedThrowable
superPrintStackTrace
in interface NestedThrowable
public void superPrintStackTrace(java.io.PrintWriter pw)
NestedThrowable
superPrintStackTrace
in interface NestedThrowable
public java.lang.String toString()
toString
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- PrintStreampublic void printStackTrace(java.io.PrintWriter w)
printStackTrace
in class java.lang.Throwable
s
- PrintStreampublic void printStackTrace()
printStackTrace
in class java.lang.Throwable
s
- PrintStreamCopyright © 2010 - 2019 Adobe. All Rights Reserved