org.deegree.commons.mail
Class UnknownMimeTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
UnknownMimeTypeException
public UnknownMimeTypeException(String message,
String mimeType)
- Creates a exception with the given message and MIME type
- Parameters:
message
- mimeType
-
getMimeType
public String getMimeType()
- Returns:
- the name of the unknown mime type
Copyright © 2011. All Rights Reserved.