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:
java.io.Serializable

public class MimeTypeException
extends TikaException

A class to encapsulate MimeType related exceptions.

See Also:
Serialized Form

Constructor Summary
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
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(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


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