Class DatatableExceptionHandlerV2

java.lang.Object
sk.iway.iwcm.system.spring.DatatableExceptionHandlerV2

@ControllerAdvice(annotations=Datatable.class) public class DatatableExceptionHandlerV2 extends Object
Title webjet8 Company Interway a. s. (www.interway.sk) Copyright Interway a. s. (c) 2001-2019
  • Constructor Details

    • DatatableExceptionHandlerV2

      public DatatableExceptionHandlerV2()
  • Method Details

    • handleMethodArgumentNotValid

      @ResponseBody @ExceptionHandler(org.springframework.web.bind.MethodArgumentNotValidException.class) public org.springframework.http.ResponseEntity<DatatableResponse<Object>> handleMethodArgumentNotValid(org.springframework.web.bind.MethodArgumentNotValidException ex)
    • handleException

      @ExceptionHandler(javax.validation.ConstraintViolationException.class) public org.springframework.http.ResponseEntity<DatatableResponse<Object>> handleException(javax.validation.ConstraintViolationException ex)
    • handleException

      @ExceptionHandler(org.springframework.transaction.TransactionSystemException.class) public org.springframework.http.ResponseEntity<DatatableResponse<Object>> handleException(org.springframework.transaction.TransactionSystemException ex)
    • handleException

      @ExceptionHandler(EditorException.class) public org.springframework.http.ResponseEntity<DatatableResponse<Object>> handleException(EditorException ex)
    • handleException

      @ExceptionHandler(java.lang.Exception.class) public org.springframework.http.ResponseEntity<DatatableResponse<Object>> handleException(Exception ex)