Package org.apache.tika.exception
Class WriteLimitReachedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xml.sax.SAXException
org.apache.tika.exception.WriteLimitReachedException
- All Implemented Interfaces:
 Serializable
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic booleanChecks whether the given exception (or any of it's root causes) was thrown by this handler as a signal of reaching the write limit.static voidMethods inherited from class org.xml.sax.SAXException
getCause, getException, toStringMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace 
- 
Constructor Details
- 
WriteLimitReachedException
public WriteLimitReachedException(int writeLimit)  
 - 
 - 
Method Details
- 
getMessage
- Overrides:
 getMessagein classSAXException
 - 
isWriteLimitReached
Checks whether the given exception (or any of it's root causes) was thrown by this handler as a signal of reaching the write limit.- Parameters:
 t- throwable- Returns:
 trueif the write limit was reached,falseotherwise- Since:
 - Apache Tika 2.0
 
 - 
throwIfWriteLimitReached
- Throws:
 SAXException
 
 -