UnsupportedMediaTypeException
class UnsupportedMediaTypeException :
ContentTransformationException,
CopyableThrowable<UnsupportedMediaTypeException>
Thrown when there is no conversion for a content type configured. HTTP status 415 Unsupported Media Type will be replied when this exception is thrown and not caught.
Constructors
UnsupportedMediaTypeException(contentType: ContentType) Thrown when there is no conversion for a content type configured. HTTP status 415 Unsupported Media Type will be replied when this exception is thrown and not caught. |
Functions
fun createCopy(): UnsupportedMediaTypeException? |
Extension Properties
Root cause of the Throwable. |