public class XMLStreamException extends Exception
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
Location |
getLocation()
Returns the location of the exception.
|
Throwable |
getNestedException()
Returns the nested exception.
|
String |
toString()
Returns the textual representation of this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic 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.Copyright © 2005-2013 Javolution. All Rights Reserved.