xmlBlaster 1.6.2 API

org.xmlBlaster.util
Class StopParseException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byorg.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

Field Summary
(package private)  XmlBlasterException e
           
private static long serialVersionUID
           
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
StopParseException()
          Use this constructor to stop parsing when you are done.
StopParseException(XmlBlasterException e)
          Use this constructor to stop parsing when an exception occurred.
 
Method Summary
 XmlBlasterException getXmlBlasterException()
           
 boolean hasError()
           
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

e

XmlBlasterException e
Constructor Detail

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

Method Detail

hasError

public boolean hasError()

getXmlBlasterException

public XmlBlasterException getXmlBlasterException()

xmlBlaster 1.6.2 API

Copyright © 1999-2007 The xmlBlaster.org contributers.