| Modifier and Type | Field and Description |
|---|---|
| protected Location | location
The location of the error. |
| protected Throwable | nested
The nested exception. |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | XMLStreamException(String
the message to report msg)Construct an exception with the associated message. |
| public | XMLStreamException(Throwable
a nested exception th)Construct an exception with the associated exception |
| public | XMLStreamException(String
the message to report msg, Throwable a nested exception th)Construct an exception with the associated message and exception |
| public | XMLStreamException(String
the message to report msg, Location the location of the error location, Throwable a nested exception th)Construct an exception with the associated message, exception and location. |
| public | XMLStreamException(String
the message to report msg, Location the location of the error location)Construct an exception with the associated message, exception and location. |
| Modifier and Type | Method and Description |
|---|---|
| public Location | Returns: the location of the exception, may be null if none is availableGets the location of the exception |
| public Throwable |
| location | back to summary |
|---|---|
| protected Location location The location of the error.
| |
| nested | back to summary |
|---|---|
| protected Throwable nested The nested exception. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| XMLStreamException | back to summary |
|---|---|
| public XMLStreamException() Default constructor | |
| XMLStreamException | back to summary |
|---|---|
| public XMLStreamException(String msg) Construct an exception with the associated message.
| |
| XMLStreamException | back to summary |
|---|---|
| public XMLStreamException(Throwable th) Construct an exception with the associated exception
| |
| XMLStreamException | back to summary |
|---|---|
| public XMLStreamException(String msg, Throwable th) Construct an exception with the associated message and exception | |
| XMLStreamException | back to summary |
|---|---|
| public XMLStreamException(String msg, Location location, Throwable th) Construct an exception with the associated message, exception and location. | |
| XMLStreamException | back to summary |
|---|---|
| public XMLStreamException(String msg, Location location) Construct an exception with the associated message, exception and location. | |
| getLocation | back to summary |
|---|---|
| public Location getLocation() Gets the location of the exception
| |
| getNestedException | back to summary |
|---|---|
| public Throwable getNestedException() Gets the nested exception.
| |