Uses of Class
com.bank.auth_service.exception.MessageHandler
Packages that use MessageHandler
-
Uses of MessageHandler in com.bank.auth_service.exception
Methods in com.bank.auth_service.exception that return types with arguments of type MessageHandlerModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<MessageHandler> RestExceptionHandler.handlerCredentialsLogin(InvalidUserCredentialsException ex) Handles InvalidUserCredentialsException and returns a 400 BAD REQUEST response.org.springframework.http.ResponseEntity<MessageHandler> RestExceptionHandler.handlerDontExistOrExpiratedCode(CodeNotFoundOrExpiredException ex) Handles CodeNotFoundOrExpiredException and returns a 400 BAD REQUEST response.org.springframework.http.ResponseEntity<MessageHandler> RestExceptionHandler.handlerInvalidCode(InvalidCodeException ex) Handles InvalidCodeException and returns a 400 BAD REQUEST response.org.springframework.http.ResponseEntity<MessageHandler> RestExceptionHandler.handlerRefreshTokenExpired(RefreshTokenExpiredException ex) Handles RefreshTokenExpiredException and returns a 404 NOT FOUND response.org.springframework.http.ResponseEntity<MessageHandler> RestExceptionHandler.handlerRefreshTokenNotFound(RefreshTokenNotFoundException ex) Handles RefreshTokenNotFoundException and returns a 404 NOT FOUND response.org.springframework.http.ResponseEntity<MessageHandler> RestExceptionHandler.handlerUserNotFound(UserNotFoundException ex) Handles UserNotFoundException and returns a 404 NOT FOUND response.