|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.xml.stream.XMLStreamException
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 | |
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 |
|
| Method Summary | |
Location |
getLocation()
Gets the location of the exception |
Throwable |
getNestedException()
Gets the nested exception. |
| Methods inherited from class java.lang.Throwable |
getMessage, printStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected Throwable nested
protected Location location
| Constructor Detail |
public XMLStreamException()
public XMLStreamException(String msg)
msg - the message to reportpublic XMLStreamException(Throwable th)
th - a nested exception
public XMLStreamException(String msg,
Throwable th)
th - a nested exceptionmsg - the message to report
public XMLStreamException(String msg,
Location location,
Throwable th)
th - a nested exceptionmsg - the message to reportlocation - the location of the error
public XMLStreamException(String msg,
Location location)
msg - the message to reportlocation - the location of the error| Method Detail |
public Throwable getNestedException()
public Location getLocation()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||