BadRequestException constructor
const
BadRequestException(
- String message
Creates a BadRequestException with the specified message
.
The message
is a human-readable description of the bad request error.
Implementation
const BadRequestException(String message)
: super(message, HttpStatus.badRequest);