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
public class MimeTypeException extends TikaException
A class to encapsulate MimeType related exceptions.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MimeTypeException(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 Detail
-
MimeTypeException
public MimeTypeException(String message)
Constructs a MimeTypeException with the specified detail message.- Parameters:
message
- the detail message.
-
-