- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.stream.XMLStreamException
-
- com.sun.istack.XMLStreamException2
-
- All Implemented Interfaces:
Serializable
public class XMLStreamException2 extends XMLStreamException
XMLStreamExceptionthat properly handles exception chaining.- Author:
- Kohsuke Kawaguchi
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class javax.xml.stream.XMLStreamException
location, nested
-
-
Constructor Summary
Constructors Constructor Description XMLStreamException2(String msg)XMLStreamException2(String msg, Throwable th)XMLStreamException2(String msg, Location location)XMLStreamException2(String msg, Location location, Throwable th)XMLStreamException2(Throwable th)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThrowablegetCause()XMLStreamExceptiondoesn't return the correct cause.-
Methods inherited from class javax.xml.stream.XMLStreamException
getLocation, getNestedException
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getCause
public Throwable getCause()
XMLStreamExceptiondoesn't return the correct cause.
-
-