|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectThrowable
Exception
XMLStreamException
public class XMLStreamException
This class represents the base exception for unexpected processing errors.
Constructor Summary | |
---|---|
XMLStreamException()
Default constructor |
|
XMLStreamException(String msg)
Constructs an exception with the assocated message. |
|
XMLStreamException(String msg,
Location location)
Constructs an exception with the assocated message, exception and location. |
|
XMLStreamException(String msg,
Location location,
Throwable nested)
Constructs an exception with the assocated message, exception and location. |
|
XMLStreamException(String msg,
Throwable nested)
Constructs an exception with the assocated message and exception. |
|
XMLStreamException(Throwable nested)
Constructs an exception with the assocated nested exception. |
Method Summary | |
---|---|
Location |
getLocation()
Returns the location of the exception. |
Throwable |
getNestedException()
Returns the nested exception. |
String |
toString()
Returns the textual representation of this exception. |
Methods inherited from class Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public XMLStreamException()
public XMLStreamException(String msg)
msg
- the message to report.public XMLStreamException(Throwable nested)
nested
- the nested exception.public XMLStreamException(String msg, Throwable nested)
msg
- the message to report.nested
- the nested exception.public XMLStreamException(String msg, Location location, Throwable nested)
msg
- the message to report.location
- the location.nested
- the nested exception.public XMLStreamException(String msg, Location location)
msg
- the message to reportlocation
- the location of the errorMethod Detail |
---|
public Throwable getNestedException()
public Location getLocation()
null
if none is availablepublic String toString()
toString
in class Throwable
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |