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 SummaryFields Modifier and Type Field Description static StoppingEarlyExceptionINSTANCE
 - 
Constructor SummaryConstructors Constructor Description StoppingEarlyException()
 - 
Method Summary- 
Methods inherited from class org.xml.sax.SAXExceptiongetCause, getException, getMessage, toString
 - 
Methods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
- 
 
- 
- 
- 
Field Detail- 
INSTANCEpublic static final StoppingEarlyException INSTANCE 
 
- 
 
-