protected ResponseEntity handleNoHandlerFoundException()

in src/main/java/com/epam/digital/data/platform/bphistory/service/api/exception/ApplicationExceptionHandler.java [127:133]


  protected ResponseEntity<Object> handleNoHandlerFoundException(
      NoHandlerFoundException exception, HttpHeaders headers, HttpStatus status,
      WebRequest request) {
    log.error("Page not found", exception);
    return ResponseEntity.status(NOT_FOUND)
        .body(newDetailedResponse(ResponseCode.NOT_FOUND));
  }