org.deegree.commons.mail
Class UnknownMimeTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.deegree.commons.mail.UnknownMimeTypeException
All Implemented Interfaces:
Serializable

public class UnknownMimeTypeException
extends Exception

A UnknownMimetypeException is thrown if the MIME type is not supported.

Version:
$Revision: 30119 $, $Date: 2011-03-22 10:02:35 +0100 (Tue, 22 Mar 2011) $
Author:
Torsten Friebe, last edited by: $Author: aschmitz $
See Also:
Serialized Form

Constructor Summary
UnknownMimeTypeException(String message, String mimeType)
          Creates a exception with the given message and MIME type
 
Method Summary
 String getMimeType()
           
 
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

UnknownMimeTypeException

public UnknownMimeTypeException(String message,
                                String mimeType)
Creates a exception with the given message and MIME type

Parameters:
message -
mimeType -
Method Detail

getMimeType

public String getMimeType()
Returns:
the name of the unknown mime type


Copyright © 2011. All Rights Reserved.