UnsupportedMediaTypeException constructor
const
UnsupportedMediaTypeException(
- String message
Creates an UnsupportedMediaTypeException with the specified message
.
The message
is a human-readable description of the unprocessable entity error.
Implementation
const UnsupportedMediaTypeException(String message)
: super(message, HttpStatus.unprocessableEntity);