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