Uses of Class
dev.fernando.user_authentication_api.exception.MessageHandler
Packages that use MessageHandler
-
Uses of MessageHandler in dev.fernando.user_authentication_api.exception
Methods in dev.fernando.user_authentication_api.exception that return types with arguments of type MessageHandlerModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleChangePasswordIncorrect
(ChangePasswordIncorrectException ex) Handles ChangePasswordIncorrectException and returns a 422 UNPROCESSABLE ENTITY response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleInvalidUserCredentials
(InvalidUserCredentialsException ex) Handles InvalidUserCredentialsException and returns a 401 UNAUTHORIZED response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleUserAlreadyExist
(UserAlreadyExistException ex) Handles UserAlreadyExistException and returns a 422 UNPROCESSABLE ENTITY response.org.springframework.http.ResponseEntity
<MessageHandler> RestExceptionHandler.handleUserNotFound
(UserNotFoundException ex) Handles UserNotFoundException and returns a 404 NOT FOUND response.