UnsupportedMediaTypeException

class UnsupportedMediaTypeException : 
    ContentTransformationException

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

<init>

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.