Package com.calumma.backend.exception
Class CustomCalummaExceptionHandler
- java.lang.Object
-
- com.calumma.backend.exception.CustomCalummaExceptionHandler
-
@ControllerAdvice public class CustomCalummaExceptionHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description CustomCalummaExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<RequestError>customHandleNotFound(NotAcceptableParametersException ex, org.springframework.web.context.request.WebRequest request)
-
-
-
Method Detail
-
customHandleNotFound
@ExceptionHandler(NotAcceptableParametersException.class) public org.springframework.http.ResponseEntity<RequestError> customHandleNotFound(NotAcceptableParametersException ex, org.springframework.web.context.request.WebRequest request) throws com.fasterxml.jackson.core.JsonProcessingException
- Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
-