public class XMLStreamException2 extends XMLStreamException
XMLStreamException that properly handles exception chaining.location, nested| Constructor and Description |
|---|
XMLStreamException2(String msg) |
XMLStreamException2(String msg,
Location location) |
XMLStreamException2(String msg,
Location location,
Throwable th) |
XMLStreamException2(String msg,
Throwable th) |
XMLStreamException2(Throwable th) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getCause()
XMLStreamException doesn't return the correct cause. |
getLocation, getNestedExceptionaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic XMLStreamException2(String msg)
public XMLStreamException2(Throwable th)
public Throwable getCause()
XMLStreamException doesn't return the correct cause.Copyright © 2005–2017 Oracle Corporation. All rights reserved.