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:
java.io.Serializable
public class ZeroByteFileException extends TikaException
Exception thrown by the AutoDetectParser when a file contains zero-bytes.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ZeroByteFileException.IgnoreZeroByteFileException
-
Field Summary
Fields Modifier and Type Field Description static ZeroByteFileException.IgnoreZeroByteFileException
IGNORE_ZERO_BYTE_FILE_EXCEPTION
If this is in theParseContext
, theAutoDetectParser
and theRecursiveParserWrapper
will ignore embedded files with zero-byte length inputstreams
-
Constructor Summary
Constructors Constructor Description ZeroByteFileException(java.lang.String msg)
-
-
-
Field Detail
-
IGNORE_ZERO_BYTE_FILE_EXCEPTION
public static ZeroByteFileException.IgnoreZeroByteFileException IGNORE_ZERO_BYTE_FILE_EXCEPTION
If this is in theParseContext
, theAutoDetectParser
and theRecursiveParserWrapper
will ignore embedded files with zero-byte length inputstreams
-
-