public class InvalidMimeTypeException extends IllegalArgumentException
MimeTypeUtils.parseMimeType(String) in case of
encountering an invalid content type specification String.| Constructor and Description |
|---|
InvalidMimeTypeException(String mimeType,
String message)
Create a new InvalidContentTypeException for the given content type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMimeType()
Return the offending content type.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic String getMimeType()