Class GlobalExceptionHandler
java.lang.Object
org.diabetestechnology.drh.service.http.hub.prime.ux.GlobalExceptionHandler
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionhandleValidationExceptions
(org.springframework.web.bind.MethodArgumentNotValidException ex)
-
Constructor Details
-
GlobalExceptionHandler
public GlobalExceptionHandler()
-
-
Method Details
-
handleDuplicateFilterException
@ExceptionHandler(DuplicateFilterException.class) @ResponseBody public Response handleDuplicateFilterException(DuplicateFilterException ex) -
handleFilterNotFoundException
@ExceptionHandler(FilterNotFoundException.class) @ResponseBody public Response handleFilterNotFoundException(FilterNotFoundException ex) -
handleFilterNotFoundException
@ExceptionHandler(AccessDeniedException.class) @ResponseBody public Response handleFilterNotFoundException(AccessDeniedException ex) -
handleAllExceptions
@ExceptionHandler(java.lang.Exception.class) @ResponseBody public Response handleAllExceptions(Exception ex) -
handleValidationExceptions
@ExceptionHandler(org.springframework.web.bind.MethodArgumentNotValidException.class) @ResponseStatus(BAD_REQUEST) @ResponseBody public Response handleValidationExceptions(org.springframework.web.bind.MethodArgumentNotValidException ex) -
handleEmptyFileException
@ExceptionHandler(EmptyFileException.class) @ResponseBody @ResponseStatus(BAD_REQUEST) public Response handleEmptyFileException(EmptyFileException ex) -
handleCgmFieldValidationException
@ExceptionHandler(CgmFieldValidationException.class) @ResponseBody @ResponseStatus(BAD_REQUEST) public Response handleCgmFieldValidationException(CgmFieldValidationException ex)
-