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
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(String msg)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
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
-
-
Constructor Detail
-
ZeroByteFileException
public ZeroByteFileException(String msg)
-
-