NotAcceptableException constructor

const NotAcceptableException(
  1. String message
)

Creates a NotAcceptableException with the specified message.

The message is a human-readable description of the not acceptable error.

Implementation

const NotAcceptableException(String message)
    : super(message, HttpStatus.notAcceptable);