|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception java.io.IOException org.apache.xmlbeans.xml.stream.XMLStreamException
public class XMLStreamException
The base exception for unexpected input during XML handling
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.xmlbeans.xml.stream.utils.NestedThrowable |
---|
NestedThrowable.Util |
Field Summary | |
---|---|
protected java.lang.Throwable |
th
|
Constructor Summary | |
---|---|
XMLStreamException()
|
|
XMLStreamException(java.lang.String msg)
|
|
XMLStreamException(java.lang.String msg,
java.lang.Throwable th)
|
|
XMLStreamException(java.lang.Throwable th)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected java.lang.Throwable th
Constructor Detail |
---|
public XMLStreamException()
public XMLStreamException(java.lang.String msg)
public XMLStreamException(java.lang.Throwable th)
public XMLStreamException(java.lang.String msg, java.lang.Throwable th)
Method Detail |
---|
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
- PrintStream
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |