Package org.apache.tika.sax
Class StoppingEarlyException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.xml.sax.SAXException
-
- org.apache.tika.sax.StoppingEarlyException
-
- All Implemented Interfaces:
Serializable
public class StoppingEarlyException extends SAXException
Sentinel exception to stop parsing xml once target is found while SAX parsing. This should be used when the parse can be stopped and the exception ignored.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StoppingEarlyException
INSTANCE
-
Constructor Summary
Constructors Constructor Description StoppingEarlyException()
-
Method Summary
-
Methods inherited from class org.xml.sax.SAXException
getCause, getException, getMessage, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-
-
-
Field Detail
-
INSTANCE
public static final StoppingEarlyException INSTANCE
-
-