MethodNotAllowedException constructor

const MethodNotAllowedException(
  1. String message
)

Creates a MethodNotAllowedException with the specified message.

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

Implementation

const MethodNotAllowedException(String message)
    : super(message, HttpStatus.methodNotAllowed);