Class DatatableExceptionHandler

java.lang.Object
sk.iway.iwcm.system.datatable.DatatableExceptionHandler

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

    • DatatableExceptionHandler

      public DatatableExceptionHandler()
  • Method Details

    • 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(java.lang.Exception.class) public org.springframework.http.ResponseEntity<DatatableResponse<Object>> handleException(Exception ex)