Class RestApiExceptionMapper

java.lang.Object
io.dialob.rest.RestApiExceptionMapper

@ControllerAdvice public class RestApiExceptionMapper extends Object
  • Constructor Details

    • RestApiExceptionMapper

      public RestApiExceptionMapper()
  • Method Details

    • handleMethodArgumentNotValidException

      @ExceptionHandler public org.springframework.http.ResponseEntity handleMethodArgumentNotValidException(@NonNull org.springframework.web.bind.MethodArgumentNotValidException exception)
    • valueInstantiationExceptionHandler

      @ExceptionHandler public org.springframework.http.ResponseEntity valueInstantiationExceptionHandler(@NonNull com.fasterxml.jackson.databind.exc.ValueInstantiationException exception)
    • apiExceptionHandler

      @ExceptionHandler public org.springframework.http.ResponseEntity apiExceptionHandler(@NonNull ApiException exception)