org.apache.tika.mime
Class MimeTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.tika.exception.TikaException
              extended by 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
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
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, 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

MimeTypeException

public MimeTypeException(String message)
Constructs a MimeTypeException with the specified detail message.

Parameters:
message - the detail message.

MimeTypeException

public MimeTypeException(String message,
                         Throwable cause)
Constructs a MimeTypeException with the specified detail message and root cause.

Parameters:
message - the detail message.
cause - root cause


Copyright © 2007-2011 The Apache Software Foundation. All Rights Reserved.