public class XMLStreamException
extends java.lang.Exception
Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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 errorpublic java.lang.Throwable getNestedException()
public Location getLocation()
null
if none is availablepublic java.lang.String toString()
toString
in class java.lang.Throwable
Copyright © 2005 - 2007 Javolution.