Uses of Record Class
pro.nikolaev.restutils.dto.ApiError
Packages that use ApiError
-
Uses of ApiError in pro.nikolaev.restutils.components
Methods in pro.nikolaev.restutils.components that return types with arguments of type ApiErrorModifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handel401(org.springframework.security.core.AuthenticationException e) ExceptionHandlerto handle anyAuthenticationExceptionexcept ofBadCredentialsException,UsernameNotFoundException,AccountExpiredException,DisabledExceptionandLockedException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle400(org.springframework.http.converter.HttpMessageNotReadableException e) ExceptionHandlerto handleHttpMessageNotReadableException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle400(org.springframework.web.bind.MethodArgumentNotValidException e) ExceptionHandlerto handleMethodArgumentNotValidException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle400(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException e) ExceptionHandlerto handleMethodArgumentTypeMismatchException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle403(org.springframework.security.access.AccessDeniedException e) ExceptionHandlerto handleAccessDeniedException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle404(org.springframework.web.servlet.resource.NoResourceFoundException e) ExceptionHandlerto handleNoResourceFoundException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle405(org.springframework.web.HttpRequestMethodNotSupportedException ignored) ExceptionHandlerto handleHttpRequestMethodNotSupportedException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle406(org.springframework.web.HttpMediaTypeNotAcceptableException e) ExceptionHandlerto handleHttpMediaTypeNotAcceptableException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle413(org.springframework.web.multipart.MaxUploadSizeExceededException e) ExceptionHandlerto handleMaxUploadSizeExceededException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle415(org.springframework.web.HttpMediaTypeNotSupportedException e) ExceptionHandlerto handleHttpMediaTypeNotSupportedException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handle423(org.springframework.security.core.AuthenticationException e) ExceptionHandlerto handleAccountExpiredException,DisabledExceptionandLockedExceptionexceptions.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handleApiException(ApiException e) ExceptionHandlerto handleApiException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handleBadCredentials(org.springframework.security.core.AuthenticationException ignored) ExceptionHandlerto handleBadCredentialsException, andUsernameNotFoundExceptionexceptions.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handleStatusException(org.springframework.web.server.ResponseStatusException e) ExceptionHandlerto handleResponseStatusException.org.springframework.http.ResponseEntity<ApiError> ExceptionHandlingAdvice.handleUnexpectedException(Exception e) ExceptionHandlerto handle any exception not specified in other handlers ofExceptionHandlingAdvicethrown while executing aRestControllermethod.