Package org.apache.tika.mime
Class MimeTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.tika.exception.TikaException
org.apache.tika.mime.MimeTypeException
- All Implemented Interfaces:
Serializable
A class to encapsulate MimeType related exceptions.
- See Also:
-
Constructor Summary
ConstructorDescriptionMimeTypeException
(String message) Constructs a MimeTypeException with the specified detail message.MimeTypeException
(String message, Throwable cause) Constructs a MimeTypeException with the specified detail message and root cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
MimeTypeException
Constructs a MimeTypeException with the specified detail message.- Parameters:
message
- the detail message.
-
MimeTypeException
Constructs a MimeTypeException with the specified detail message and root cause.- Parameters:
message
- the detail message.cause
- root cause
-