hunk.code_window:     }
       @PutMapping("/invite/confirm")
       public Mono<ResponseDTO<Boolean>> confirmInviteUser(@RequestBody InviteUser inviteUser) {
           return service.confirmInviteUser(inviteUser)
                   .map(result -> new ResponseDTO<>(HttpStatus.OK.value(), result, null));
       }
   }
hunk.labels: keep keep keep replace replace keep keep keep
hunk.after_edit:     public Mono<ResponseDTO<Boolean>> confirmInviteUser(@RequestBody InviteUser inviteUser,
                                                           @RequestHeader("Origin") String originHeader) {
           return service.confirmInviteUser(inviteUser, originHeader)
  
hunk.file_path: app/server/appsmith-server/src/main/java/com/appsmith/server/controllers/UserController.java
hunk.type: replace
file: package com.appsmith.external.pluginExceptions;
  
  import lombok.Getter;
  import lombok.Setter;
  
  @Getter
  @Setter
  public class AppsmithPluginException extends Exception {
  
      private AppsmithPluginError error;
      private Object[] args;
  
      public AppsmithPluginException(String msg) {
          super(msg);
      }
  
      public AppsmithPluginException(AppsmithPluginError error, Object... args) {
          super(error.getMessage(args));
          this.error = error;
          this.args = args;
      }
  
      public Integer getHttpStatus() {
          return this.error.getHttpErrorCode();
      }
  
      public String getMessage(Object... args) {
          return this.error.getMessage(this.args);
      }
  
      public Integer getAppErrorCode() {
          return this.error.getAppErrorCode();
      }
  
  }
  