Uses of Class
com.unosquare.carmigo.exception.ErrorResponse
Packages that use ErrorResponse
-
Uses of ErrorResponse in com.unosquare.carmigo.exception
Methods in com.unosquare.carmigo.exception that return types with arguments of type ErrorResponseModifier and TypeMethodDescriptionstatic org.springframework.http.ResponseEntity<ErrorResponse>ExceptionBuilder.buildErrorResponseRepresentation(org.springframework.http.HttpStatus httpStatus, String message) Builds an error response.org.springframework.http.ResponseEntity<ErrorResponse>ExceptionResponseHandler.handleBadRequestException(Exception exception) org.springframework.http.ResponseEntity<ErrorResponse>ExceptionResponseHandler.handleBeanValidationException(org.springframework.web.bind.MethodArgumentNotValidException methodArgumentNotValidException) Handles exception thrown byValidin controllers which parses error messages.org.springframework.http.ResponseEntity<ErrorResponse>ExceptionResponseHandler.handleConflictException(Exception exception) org.springframework.http.ResponseEntity<ErrorResponse>ExceptionResponseHandler.handleForbiddenException(Exception exception) org.springframework.http.ResponseEntity<ErrorResponse>ExceptionResponseHandler.handleNotFoundException(Exception exception)