public class InvalidMimeTypeException extends IllegalArgumentException
MimeTypeUtils.parseMimeType(String) in case of
encountering an invalid content type specification String.| 构造器和说明 |
|---|
InvalidMimeTypeException(String mimeType,
String message)
Create a new InvalidContentTypeException for the given content type.
|
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getMimeType()
Return the offending content type.
|
public String getMimeType()