open class InvalidMediaTypeException : IllegalArgumentException
Exception thrown from MediaType#parseMediaType(String)
in case of encountering an invalid media type specification String.
Author
Juergen Hoeller
Since
3.2.2
InvalidMediaTypeException(mediaType: String, message: String)
Create a new InvalidMediaTypeException for the given media type. |
open fun getMediaType(): String
Return the offending media type. |