javax.xml.stream

Class XMLStreamException

public class XMLStreamException extends Exception

Exception indicating an XML stream processing error.
Field Summary
protected Locationlocation
protected Throwablenested
Constructor Summary
XMLStreamException()
XMLStreamException(String msg)
XMLStreamException(Throwable th)
XMLStreamException(String msg, Throwable th)
XMLStreamException(String msg, Location location, Throwable th)
XMLStreamException(String msg, Location location)
Method Summary
LocationgetLocation()
Returns the location of the exception.
ThrowablegetNestedException()
Returns the nested exception.

Field Detail

location

protected Location location

nested

protected Throwable nested

Constructor Detail

XMLStreamException

public XMLStreamException()

XMLStreamException

public XMLStreamException(String msg)

XMLStreamException

public XMLStreamException(Throwable th)

XMLStreamException

public XMLStreamException(String msg, Throwable th)

XMLStreamException

public XMLStreamException(String msg, Location location, Throwable th)

XMLStreamException

public XMLStreamException(String msg, Location location)

Method Detail

getLocation

public Location getLocation()
Returns the location of the exception.

getNestedException

public Throwable getNestedException()
Returns the nested exception.