org.xmlBlaster.util
Class StopParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.xmlBlaster.util.StopParseException
- All Implemented Interfaces:
- java.io.Serializable
public class StopParseException
- extends java.lang.RuntimeException
Throw this exception to stop SAX parsing.
Usually thrown in startElement() or endElement() if
you are not interested in the following tags anymore.
Note that this exception extends RuntimeException,
so we don't need to declare it with a throws clause.
- See Also:
- Serialized Form
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 |
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
e
XmlBlasterException e
StopParseException
public StopParseException()
- Use this constructor to stop parsing when you are done.
StopParseException
public StopParseException(XmlBlasterException e)
- Use this constructor to stop parsing when an exception occurred.
The XmlBlasterException is transported embedded in this class
hasError
public boolean hasError()
getXmlBlasterException
public XmlBlasterException getXmlBlasterException()
Copyright © 1999-2014 The xmlBlaster.org contributers.