com.sun.istack
Class XMLStreamException2
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.stream.XMLStreamException
com.sun.istack.XMLStreamException2
- All Implemented Interfaces:
- java.io.Serializable
public class XMLStreamException2
- extends javax.xml.stream.XMLStreamException
XMLStreamException
that properly handles exception chaining.
- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
Fields inherited from class javax.xml.stream.XMLStreamException |
location, nested |
Method Summary |
java.lang.Throwable |
getCause()
XMLStreamException doesn't return the correct cause. |
Methods inherited from class javax.xml.stream.XMLStreamException |
getLocation, getNestedException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
XMLStreamException2
public XMLStreamException2(java.lang.String msg)
XMLStreamException2
public XMLStreamException2(java.lang.Throwable th)
XMLStreamException2
public XMLStreamException2(java.lang.String msg,
java.lang.Throwable th)
XMLStreamException2
public XMLStreamException2(java.lang.String msg,
javax.xml.stream.Location location)
XMLStreamException2
public XMLStreamException2(java.lang.String msg,
javax.xml.stream.Location location,
java.lang.Throwable th)
getCause
public java.lang.Throwable getCause()
XMLStreamException
doesn't return the correct cause.
- Overrides:
getCause
in class java.lang.Throwable