Serializable
public class XMLStreamException extends Exception
Modifier and Type | Field | Description |
---|---|---|
protected Location |
location |
|
protected Throwable |
nested |
Constructor | Description |
---|---|
XMLStreamException() |
Default constructor
|
XMLStreamException(String msg) |
Construct an exception with the assocated message.
|
XMLStreamException(String msg,
Throwable th) |
Construct an exception with the assocated message and exception
|
XMLStreamException(String msg,
Location location) |
Construct an exception with the assocated message, exception and location.
|
XMLStreamException(String msg,
Location location,
Throwable th) |
Construct an exception with the assocated message, exception and location.
|
XMLStreamException(Throwable th) |
Construct an exception with the assocated exception
|
Modifier and Type | Method | Description |
---|---|---|
Location |
getLocation() |
Gets the location of the exception
|
Throwable |
getNestedException() |
Gets the nested exception.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public XMLStreamException()
public XMLStreamException(String msg)
msg
- the message to reportpublic XMLStreamException(Throwable th)
th
- a nested exceptionpublic XMLStreamException(String msg, Throwable th)
th
- a nested exceptionmsg
- the message to reportpublic XMLStreamException(String msg, Location location, Throwable th)
th
- a nested exceptionmsg
- the message to reportlocation
- the location of the error Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2017, Oracle and/or its affiliates. 500 Oracle Parkway
Redwood Shores, CA 94065 USA. All rights reserved.
DRAFT 9-internal+0-adhoc.mlchung.jdk9-jdeps