Uses of Class
br.com.pawsoncloud.controladores.excecao.StandardError
Packages that use StandardError
-
Uses of StandardError in br.com.pawsoncloud.controladores.excecao
Methods in br.com.pawsoncloud.controladores.excecao that return types with arguments of type StandardErrorModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.accessDeniedError
(AccessDeniedException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoAccessDeniedException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.authenticationError
(org.springframework.security.core.AuthenticationException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoAuthenticationException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.badCredentialsError
(org.springframework.security.authentication.BadCredentialsException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoBadCredentialsException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.badRequest
(org.springframework.http.converter.HttpMessageNotReadableException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoHttpMessageNotReadableException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.businessException
(ValidationException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoValidationException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.databaseError
(DataBaseException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoDataIntegrityViolationException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.databaseError
(Exception e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.jwtError
(SecurityException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoJWTVerificationException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.resourceNotFound
(ObjectNotFoundException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoObjectNotFoundException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.resourceNotFound
(jakarta.persistence.EntityNotFoundException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoEntityNotFoundException
e retorna uma resposta padronizada.org.springframework.http.ResponseEntity<StandardError>
ControllerExceptionHandler.validationError
(org.springframework.web.bind.MethodArgumentNotValidException e, jakarta.servlet.http.HttpServletRequest request) Trata a exceçãoMethodArgumentNotValidException
e retorna uma resposta padronizada.