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 StandardError
    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<StandardError>
    ControllerExceptionHandler.accessDeniedError(AccessDeniedException e, jakarta.servlet.http.HttpServletRequest request)
    Trata a exceção AccessDeniedException 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ção AuthenticationException 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ção BadCredentialsException 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ção HttpMessageNotReadableException e retorna uma resposta padronizada.
    org.springframework.http.ResponseEntity<StandardError>
    ControllerExceptionHandler.businessException(ValidationException e, jakarta.servlet.http.HttpServletRequest request)
    Trata a exceção ValidationException e retorna uma resposta padronizada.
    org.springframework.http.ResponseEntity<StandardError>
    ControllerExceptionHandler.databaseError(DataBaseException e, jakarta.servlet.http.HttpServletRequest request)
    Trata a exceção DataIntegrityViolationException e retorna uma resposta padronizada.
    org.springframework.http.ResponseEntity<StandardError>
    ControllerExceptionHandler.databaseError(Exception e, jakarta.servlet.http.HttpServletRequest request)
    Trata a exceção Exception e retorna uma resposta padronizada.
    org.springframework.http.ResponseEntity<StandardError>
    ControllerExceptionHandler.jwtError(SecurityException e, jakarta.servlet.http.HttpServletRequest request)
    Trata a exceção JWTVerificationException e retorna uma resposta padronizada.
    org.springframework.http.ResponseEntity<StandardError>
    ControllerExceptionHandler.resourceNotFound(ObjectNotFoundException e, jakarta.servlet.http.HttpServletRequest request)
    Trata a exceção ObjectNotFoundException e retorna uma resposta padronizada.
    org.springframework.http.ResponseEntity<StandardError>
    ControllerExceptionHandler.resourceNotFound(jakarta.persistence.EntityNotFoundException e, jakarta.servlet.http.HttpServletRequest request)
    Trata a exceção EntityNotFoundException 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ção MethodArgumentNotValidException e retorna uma resposta padronizada.