Uses of Record Class
pro.nikolaev.restutils.dto.ApiError

Packages that use ApiError
Package
Description
 
  • Uses of ApiError in pro.nikolaev.restutils.components

    Methods in pro.nikolaev.restutils.components that return types with arguments of type ApiError
    Modifier and Type
    Method
    Description
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handel401(org.springframework.security.core.AuthenticationException e)
    ExceptionHandler to handle any AuthenticationException except of BadCredentialsException, UsernameNotFoundException, AccountExpiredException, DisabledException and LockedException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle400(org.springframework.http.converter.HttpMessageNotReadableException e)
    ExceptionHandler to handle HttpMessageNotReadableException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle400(org.springframework.web.bind.MethodArgumentNotValidException e)
    ExceptionHandler to handle MethodArgumentNotValidException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle400(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException e)
    ExceptionHandler to handle MethodArgumentTypeMismatchException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle403(org.springframework.security.access.AccessDeniedException e)
    ExceptionHandler to handle AccessDeniedException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle404(org.springframework.web.servlet.resource.NoResourceFoundException e)
    ExceptionHandler to handle NoResourceFoundException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle405(org.springframework.web.HttpRequestMethodNotSupportedException ignored)
    ExceptionHandler to handle HttpRequestMethodNotSupportedException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle406(org.springframework.web.HttpMediaTypeNotAcceptableException e)
    ExceptionHandler to handle HttpMediaTypeNotAcceptableException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle413(org.springframework.web.multipart.MaxUploadSizeExceededException e)
    ExceptionHandler to handle MaxUploadSizeExceededException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle415(org.springframework.web.HttpMediaTypeNotSupportedException e)
    ExceptionHandler to handle HttpMediaTypeNotSupportedException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handle423(org.springframework.security.core.AuthenticationException e)
    ExceptionHandler to handle AccountExpiredException, DisabledException and LockedException exceptions.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handleApiException(ApiException e)
    ExceptionHandler to handle ApiException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handleBadCredentials(org.springframework.security.core.AuthenticationException ignored)
    ExceptionHandler to handle BadCredentialsException, and UsernameNotFoundException exceptions.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handleStatusException(org.springframework.web.server.ResponseStatusException e)
    ExceptionHandler to handle ResponseStatusException.
    org.springframework.http.ResponseEntity<ApiError>
    ExceptionHandlingAdvice.handleUnexpectedException(Exception e)
    ExceptionHandler to handle any exception not specified in other handlers of ExceptionHandlingAdvice thrown while executing a RestController method.