deegree 2.3 (2010/04/09 10:10 build-4-official)

org.deegree.framework.mail
Class UnknownMimeTypeException

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

public class UnknownMimeTypeException
extends Exception

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

Version:
$Revision: 18195 $, $Date: 2009-06-18 17:55:39 +0200 (Do, 18. Jun 2009) $
Author:
Torsten Friebe, last edited by: $Author: mschneider $
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

Method Detail

getMimeType

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

deegree 2.3 (2010/04/09 10:10 build-4-official)

an open source project founded by lat/lon, Bonn, Germany.
For more information visit: http://www.deegree.org