Uses of Class
com.gestorrh.api.dto.error.RespuestaErrorDTO
Packages that use RespuestaErrorDTO
Package
Description
Gestión centralizada de errores y excepciones de la API.
-
Uses of RespuestaErrorDTO in com.gestorrh.api.exception
Methods in com.gestorrh.api.exception that return types with arguments of type RespuestaErrorDTOModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<RespuestaErrorDTO> GestorExcepciones.manejarConcurrencia(org.springframework.orm.ObjectOptimisticLockingFailureException ex, jakarta.servlet.http.HttpServletRequest request) Maneja las excepciones de concurrencia producidas cuando dos usuarios intentan modificar el mismo registro simultáneamente.org.springframework.http.ResponseEntity<RespuestaErrorDTO> GestorExcepciones.manejarExcepcionesDeNegocio(RuntimeException ex, jakarta.servlet.http.HttpServletRequest request) Maneja las excepciones genéricas de ejecución que representan violaciones de reglas de negocio.org.springframework.http.ResponseEntity<RespuestaErrorDTO> GestorExcepciones.manejarExcepcionesGlobales(Exception ex, jakarta.servlet.http.HttpServletRequest request) Maneja las excepciones globales de tipoExceptionque no han sido capturadas por otros manejadores.org.springframework.http.ResponseEntity<RespuestaErrorDTO> GestorExcepciones.manejarRecursoNoEncontrado(jakarta.persistence.EntityNotFoundException ex, jakarta.servlet.http.HttpServletRequest request) Maneja las excepciones producidas cuando no se encuentra un recurso solicitado en la base de datos.org.springframework.http.ResponseEntity<RespuestaErrorDTO> GestorExcepciones.manejarValidaciones(org.springframework.web.bind.MethodArgumentNotValidException ex, jakarta.servlet.http.HttpServletRequest request) Maneja las excepciones producidas cuando falla la validación de los argumentos de entrada (anotaciones@Valid).