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 msg)
Construct an exception with the associated message.
|
XMLStreamException(String msg,
Location location)
Construct an exception with the associated message and location.
|
XMLStreamException(String msg,
Location location,
Throwable th)
Construct an exception with the associated message, exception and location.
|
XMLStreamException(String msg,
Throwable th)
Construct an exception with the associated message and exception
|
XMLStreamException(Throwable th)
Construct an exception with the associated exception
|
Modifier and Type | Method and Description |
---|---|
Location |
getLocation()
Gets the location of the exception
|
Throwable |
getNestedException()
Gets the nested exception.
|
getMessage, initCause, printStackTrace, printStackTrace, 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