Package tv.hd3g.jobkit.mod
Class JobKitRestExceptionHandler
- java.lang.Object
-
- org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
-
- tv.hd3g.jobkit.mod.JobKitRestExceptionHandler
-
@Order(-2147483648) @ControllerAdvice public class JobKitRestExceptionHandler extends org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandlerSee https://www.toptal.com/java/spring-boot-rest-api-error-handling
-
-
Constructor Summary
Constructors Constructor Description JobKitRestExceptionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.http.ResponseEntity<java.lang.Object>handleRESTException(JobKitRestException e, org.springframework.web.context.request.WebRequest request)-
Methods inherited from class org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler
handleAsyncRequestTimeoutException, handleBindException, handleConversionNotSupported, handleException, handleExceptionInternal, handleHttpMediaTypeNotAcceptable, handleHttpMediaTypeNotSupported, handleHttpMessageNotReadable, handleHttpMessageNotWritable, handleHttpRequestMethodNotSupported, handleMethodArgumentNotValid, handleMissingPathVariable, handleMissingServletRequestParameter, handleMissingServletRequestPart, handleNoHandlerFoundException, handleServletRequestBindingException, handleTypeMismatch
-
-
-
-
Method Detail
-
handleRESTException
@ExceptionHandler(JobKitRestException.class) protected org.springframework.http.ResponseEntity<java.lang.Object> handleRESTException(JobKitRestException e, org.springframework.web.context.request.WebRequest request)
-
-