code: @ExceptionHandler(TargetAlreadyExistsException.class)
      public ResponseEntity<Object> handleTargetAlreadyExistsException(TargetAlreadyExistsException ex, WebRequest request) {
          HttpHeaders headers = RestServiceUtils.setLocationHeader(new HttpHeaders(),
                                                                   TargetController.BASE_URL + TargetController.GET_TARGET_URL,
                                                                   ex.getEnv(), ex.getSiteName());
  
          return handleExceptionInternal(ex, "Target already exists", headers, HttpStatus.CONFLICT, request);
      }
docs: Handles a {@link TargetAlreadyExistsException} by returning a 409 CONFLICT.
  
  @param ex        the exception
  @param request   the current request
  
  @return the response entity, with the body and status