| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public exception XMLStreamException extends Exception
The base exception for unexpected processing errors. This Exception class is used to report well-formedness errors as well as unexpected processing conditions.
Field Summary | |
---|---|
protected Location |
location
|
protected Throwable |
nested
|
Constructor Summary | |
---|---|
Default constructor |
|
XMLStreamException(String msg) Construct an exception with the assocated message. |
|
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(String msg, Throwable th) Construct an exception with the assocated message and exception |
|
Construct an exception with the assocated exception |
Method Summary | |
---|---|
Location |
Gets the location of the exception |
Throwable |
Gets the nested exception. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected Location location
protected Throwable nested
Constructor Detail |
---|
public XMLStreamException()
public XMLStreamException(String msg)
msg
- the message to reportpublic XMLStreamException(String msg, Location location)
msg
- the message to reportlocation
- the location of the errorpublic XMLStreamException(String msg, Location location, Throwable th)
msg
- the message to reportlocation
- the location of the errorth
- a nested exceptionpublic XMLStreamException(String msg, Throwable th)
msg
- the message to reportth
- a nested exceptionpublic XMLStreamException(Throwable th)
th
- a nested exceptionMethod Detail |
---|
public Location getLocation()
public Throwable getNestedException()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |