Uses of Record Class
vaultWeb.exceptions.ApiErrorResponse
Packages that use ApiErrorResponse
-
Uses of ApiErrorResponse in vaultWeb.exceptions
Methods in vaultWeb.exceptions that return types with arguments of type ApiErrorResponseModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleAccessDenied(org.springframework.security.access.AccessDeniedException ex) Handles AccessDeniedException and returns 403 Forbidden.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleAdminAccessDenied(AdminAccessDeniedException ex) Handles AdminAccessDeniedException and returns 403 Forbidden.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleAlreadyMember(AlreadyMemberException ex) Handles AlreadyMemberException and returns 409 Conflict.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleAlreadyVoted(AlreadyVotedException ex) Handles AlreadyVotedException and returns 400 Bad Request.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleBadCredentials(org.springframework.security.authentication.BadCredentialsException ex) Handles BadCredentialsException (invalid login) and returns 403 Forbidden.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleDataAccessException(org.springframework.dao.DataAccessException ex) Handles database-related exceptions and returns 500 Internal Server Error.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleDecryptionFailed(DecryptionFailedException ex) Handles DecryptionFailedException and returns 500 Internal Server Error.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleDuplicateUsername(DuplicateUsernameException ex) Handles DuplicateUsernameException and returns 409 Conflict.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleEncryptionFailed(EncryptionFailedException ex) Handles EncryptionFailedException and returns 500 Internal Server Error.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleGroupNotFound(GroupNotFoundException ex) Handles GroupNotFoundException and returns 404 Not Found.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleIllegalArgument(IllegalArgumentException ex) Handles illegal client arguments and returns 400 Bad Request.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleNotMember(NotMemberException ex) Handles NotMemberException and returns 403 Forbidden.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handlePollDoesNotBelongToGroup(PollDoesNotBelongToGroupException ex) Handles PollDoesNotBelongToGroupException and returns 404 Not Found.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handlePollOptionNotFound(PollOptionNotFoundException ex) Handles PollOptionNotFoundException and returns 404 Not Found.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handlePrivateChatNotFound(PrivateChatNotFoundException ex) Handles PrivateChatNotFoundException and returns 404 Not Found.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleRateLimitExceededException(RateLimitExceededException ex) Handles RateLimitExceededException and returns 429 Limit Exceeded.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleRuntimeException(RuntimeException ex) Handles any other RuntimeException and returns 500 Internal Server Error.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleUnauthorized(UnauthorizedException ex) Handles UnauthorizedException and returns 401 Unauthorized.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleUserNotFound(UserNotFoundException ex) Handles UserNotFoundException and returns 404 Not Found.org.springframework.http.ResponseEntity<ApiErrorResponse> GlobalExceptionHandler.handleValidationErrors(org.springframework.web.bind.MethodArgumentNotValidException ex)