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