Class RestExceptionHandler
java.lang.Object
org.tailormap.api.controller.admin.RestExceptionHandler
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.springframework.http.ResponseEntity<Object>
handleException
(org.springframework.http.converter.HttpMessageNotReadableException ex, org.springframework.web.context.request.WebRequest request)
-
Constructor Details
-
RestExceptionHandler
public RestExceptionHandler()
-
-
Method Details
-
handleException
@ExceptionHandler(org.springframework.http.converter.HttpMessageNotReadableException.class) @Nullable public org.springframework.http.ResponseEntity<Object> handleException(org.springframework.http.converter.HttpMessageNotReadableException ex, org.springframework.web.context.request.WebRequest request)
-