public class IllegalStreamStateException
extends java.lang.IllegalStateException
IllegalStateException
that includes a StAX Location
identifying
the point where the error occured.Constructor and Description |
---|
IllegalStreamStateException() |
IllegalStreamStateException(javax.xml.stream.Location location) |
IllegalStreamStateException(java.lang.String s) |
IllegalStreamStateException(java.lang.String s,
javax.xml.stream.Location location) |
Modifier and Type | Method and Description |
---|---|
javax.xml.stream.Location |
getLocation()
Returns the
Location where the error occured. |
void |
setLocation(javax.xml.stream.Location location)
Sets the
Location where the error occured. |
public IllegalStreamStateException()
public IllegalStreamStateException(javax.xml.stream.Location location)
public IllegalStreamStateException(java.lang.String s)
public IllegalStreamStateException(java.lang.String s, javax.xml.stream.Location location)
public javax.xml.stream.Location getLocation()
Location
where the error occured.Location
where the error occured.public void setLocation(javax.xml.stream.Location location)
Location
where the error occured.location
- The Location
where the error occured.