Package org.apache.tika.exception
Class ZeroByteFileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.tika.exception.TikaException
org.apache.tika.exception.ZeroByteFileException
- All Implemented Interfaces:
Serializable
Exception thrown by the AutoDetectParser when a file contains zero-bytes.
- See Also:
-
Nested Class Summary
-
Field Summary
Modifier and TypeFieldDescriptionIf this is in theParseContext
, theAutoDetectParser
and theRecursiveParserWrapper
will ignore embedded files with zero-byte length inputstreams -
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
IGNORE_ZERO_BYTE_FILE_EXCEPTION
If this is in theParseContext
, theAutoDetectParser
and theRecursiveParserWrapper
will ignore embedded files with zero-byte length inputstreams
-
-
Constructor Details
-
ZeroByteFileException
-