open class InvalidMimeTypeException : IllegalArgumentException
Exception thrown from MimeTypeUtils#parseMimeType(String)
in case of encountering an invalid content type specification String.
Author
Juergen Hoeller
Author
Rossen Stoyanchev
Since
4.0
InvalidMimeTypeException(mimeType: String, message: String)
Create a new InvalidContentTypeException for the given content type. |
open fun getMimeType(): String
Return the offending content type. |