dynamic abortUnsupportedMediaType([body = 'Unsupported Media Type'])

Source

abortUnsupportedMediaType([body = 'Unsupported Media Type']) {
  throw new HttpUnsupportedMediaTypeException(body);
}