UnsupportedMediaTypeException

class UnsupportedMediaTypeException(contentType: <ERROR CLASS>) : 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

Link copied to clipboard
fun UnsupportedMediaTypeException(contentType: <ERROR CLASS>)

Functions

Link copied to clipboard
open override fun createCopy(): UnsupportedMediaTypeException

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
open val message: String?