Serializablepublic class XMLStreamException extends Exception
| 构造器 | 说明 |
|---|---|
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
|
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