code: @ExceptionHandler(TargetNotFoundException.class)
      public ResponseEntity<Object> handleTargetNotFoundException(TargetNotFoundException ex, WebRequest request) {
          return handleExceptionInternal(ex, "Target not found", new HttpHeaders(), HttpStatus.NOT_FOUND, request);
      }
docs: Handles a {@link TargetNotFoundException} by returning a 404 NOT FOUND.
  
  @param ex        the exception
  @param request   the current request
  
  @return the response entity, with the body and status