Package 

Class ApiErrorHandler

  • All Implemented Interfaces:
    org.springframework.beans.factory.Aware , org.springframework.context.MessageSourceAware

    @Order(value = 1)@ControllerAdvice() 
    public final class ApiErrorHandler
    extends ResponseEntityExceptionHandler
                        
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private MessageSource messageSource
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final ResponseEntity<Object> handleHttpMessageNotReadable(HttpMessageNotReadableException ex, HttpHeaders headers, HttpStatus status, WebRequest request)
      final ResponseEntity<Object> handleFormValidationException(FormValidationException ex)
      final ResponseEntity<Object> handleResponseStatus(ResponseStatusException ex)
      • Methods inherited from class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler

        handleException, setMessageSource
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait