org.apache.nutch.util.mime
Class MimeTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.nutch.util.mime.MimeTypeException
All Implemented Interfaces:
Serializable

public class MimeTypeException
extends Exception

A class to encapsulate MimeType related exceptions.

Author:
Hari Kodungallur, Jerome Charron - http://frutch.free.fr/
See Also:
Serialized Form

Constructor Summary
MimeTypeException()
          Constructs a MimeTypeException with no specified detail message.
MimeTypeException(String msg)
          Constructs a MimeTypeException with the specified detail message.
 
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()
Constructs a MimeTypeException with no specified detail message.


MimeTypeException

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

Parameters:
msg - the detail message.


Copyright © 2007, 2012, Oracle and/or its affiliates. All rights reserved.