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:
- java.io.Serializable
public class IllegalStreamStateException
- extends java.lang.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
|
Method Summary |
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. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IllegalStreamStateException
public IllegalStreamStateException()
IllegalStreamStateException
public IllegalStreamStateException(javax.xml.stream.Location location)
IllegalStreamStateException
public IllegalStreamStateException(java.lang.String s)
IllegalStreamStateException
public IllegalStreamStateException(java.lang.String s,
javax.xml.stream.Location location)
getLocation
public javax.xml.stream.Location getLocation()
- Returns the
Location where the error occured.
- Returns:
- The
Location where the error occured.
setLocation
public void setLocation(javax.xml.stream.Location location)
- Sets the
Location where the error occured.
- Parameters:
location - The Location where the error occured.
Copyright © 2013. All Rights Reserved.