Class MagicMatchNotFoundException

  • All Implemented Interfaces:
    java.io.Serializable

    public class MagicMatchNotFoundException
    extends java.lang.Exception
    Basic JMimeMagic parse exception. This is simply a holder to identify a parsing problem. It should be extended to identify more specific issues.
    Version:
    $Revision: 1.1 $
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private static long serialVersionUID  
    • 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

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • MagicMatchNotFoundException

        public MagicMatchNotFoundException()
        constructor
      • MagicMatchNotFoundException

        public MagicMatchNotFoundException​(java.lang.String message)
        Create exception with error message
        Parameters:
        message - The error message for this exception
      • MagicMatchNotFoundException

        public MagicMatchNotFoundException​(java.lang.Throwable cause)
        Create exception based on an existing Throwable
        Parameters:
        cause - The throwable on which we'll base this exception
      • MagicMatchNotFoundException

        public MagicMatchNotFoundException​(java.lang.String message,
                                           java.lang.Throwable cause)
        Create an exception with custom message and throwable info
        Parameters:
        message - The message
        cause - The target Throwable