NotFoundException constructor

const NotFoundException(
  1. String message
)

Creates a NotFoundException with the specified message.

The message is a human-readable description of the exception.

Implementation

const NotFoundException(String message) : super(message, HttpStatus.notFound);