public class XMLStreamException extends Exception
| Modifier and Type | Field and Description |
|---|---|
protected Location |
location
|
protected Throwable |
nested
|
| Constructor and Description |
|---|
XMLStreamException()
Default constructor
|
XMLStreamException(String
Construct an exception with the assocated message.
|
XMLStreamException(String
Construct an exception with the assocated message, exception and location.
|
XMLStreamException(String
Construct an exception with the assocated message, exception and location.
|
XMLStreamException(String
Construct an exception with the assocated message and exception
|
XMLStreamException(Throwable
Construct an exception with the assocated exception
|
| Modifier and Type | Method and Description |
|---|---|
Location |
getLocation()
Gets the location of the exception
|
Throwable |
getNestedException()
Gets the nested exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic XMLStreamException()
public XMLStreamException(Stringmsg)
msg - the message to report
public XMLStreamException(Throwableth)
th - a nested exception
public XMLStreamException(Stringmsg, Throwable th)
th - a nested exception
msg - the message to report
public XMLStreamException(Stringmsg, Location location, Throwable th)
th - a nested exception
msg - the message to report
location - the location of the error