Class 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.
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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