javanet.staxutils.error
Class IllegalStreamStateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalStateException
javanet.staxutils.error.IllegalStreamStateException
- All Implemented Interfaces:
- Serializable
public class IllegalStreamStateException
- extends IllegalStateException
IllegalStateException
that includes a StAX Location
identifying
the point where the error occured.
- Version:
- $Revision: 1.1 $
- Author:
- Christian Niles
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IllegalStreamStateException
public IllegalStreamStateException()
IllegalStreamStateException
public IllegalStreamStateException(Location location)
IllegalStreamStateException
public IllegalStreamStateException(String s)
IllegalStreamStateException
public IllegalStreamStateException(String s,
Location location)
getLocation
public Location getLocation()
- Returns the
Location
where the error occured.
- Returns:
- The
Location
where the error occured.
setLocation
public void setLocation(Location location)
- Sets the
Location
where the error occured.
- Parameters:
location
- The Location
where the error occured.