Serializable
public class XMLStreamException2 extends XMLStreamException
XMLStreamException
that properly handles exception chaining.location, nested
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) |
Modifier and Type | Method | Description |
---|---|---|
Throwable |
getCause() |
XMLStreamException doesn't return the correct cause. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
getLocation, getNestedException
public XMLStreamException2(String msg)
public XMLStreamException2(Throwable th)
public Throwable getCause()
XMLStreamException
doesn't return the correct cause.Copyright © 2018 Oracle Corporation. All rights reserved.