Package io.dialob.rest
Class RestApiExceptionMapper
- java.lang.Object
-
- io.dialob.rest.RestApiExceptionMapper
-
@ControllerAdvice public class RestApiExceptionMapper extends Object
-
-
Constructor Summary
Constructors Constructor Description RestApiExceptionMapper()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntityapiExceptionHandler(ApiException exception)org.springframework.http.ResponseEntityhandleMethodArgumentNotValidException(org.springframework.web.bind.MethodArgumentNotValidException exception)org.springframework.http.ResponseEntityvalueInstantiationExceptionHandler(com.fasterxml.jackson.databind.exc.ValueInstantiationException exception)
-
-
-
Method Detail
-
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)
-
-