@ControllerAdvice(annotations={org.springframework.web.bind.annotation.RestController.class,org.springframework.stereotype.Controller.class})
public class ExceptionControllerAdvice
extends java.lang.Object
ControllerAdvice| 构造器和说明 |
|---|
ExceptionControllerAdvice() |
| 限定符和类型 | 方法和说明 |
|---|---|
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.validation.BindException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(com.xforceplus.tenant.core.exception.CodeException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(javax.validation.ConstraintViolationException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.hibernate.exception.ConstraintViolationException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.dao.DataAccessException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.hibernate.exception.DataException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.dao.DataIntegrityViolationException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.dao.EmptyResultDataAccessException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(java.lang.Exception e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.web.HttpMediaTypeNotSupportedException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.http.converter.HttpMessageNotReadableException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(java.lang.IllegalArgumentException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.dao.IncorrectResultSizeDataAccessException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(java.security.InvalidParameterException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.orm.jpa.JpaObjectRetrievalFailureException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.web.bind.MethodArgumentNotValidException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.springframework.web.servlet.NoHandlerFoundException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processException(org.hibernate.PropertyValueException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processExcepton(io.geewit.core.exception.NotFoundException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processExcepton(io.geewit.core.exception.ProcessedException e) |
org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> |
processExeption(org.springframework.web.bind.MissingServletRequestParameterException e) |
@ResponseBody @ExceptionHandler(value=com.xforceplus.tenant.core.exception.CodeException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(com.xforceplus.tenant.core.exception.CodeException e)
@ResponseBody @ExceptionHandler(value=io.geewit.core.exception.ProcessedException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processExcepton(io.geewit.core.exception.ProcessedException e)
@ResponseBody @ExceptionHandler(value=io.geewit.core.exception.NotFoundException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processExcepton(io.geewit.core.exception.NotFoundException e)
@ResponseBody @ExceptionHandler(value=org.springframework.web.servlet.NoHandlerFoundException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.web.servlet.NoHandlerFoundException e)
@ResponseBody @ExceptionHandler(value=org.springframework.web.bind.MethodArgumentNotValidException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.web.bind.MethodArgumentNotValidException e)
@ResponseBody @ExceptionHandler(value=org.springframework.web.bind.MissingServletRequestParameterException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processExeption(org.springframework.web.bind.MissingServletRequestParameterException e)
@ResponseBody @ExceptionHandler(value=java.security.InvalidParameterException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(java.security.InvalidParameterException e)
@ResponseBody @ExceptionHandler(value=java.lang.IllegalArgumentException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(java.lang.IllegalArgumentException e)
@ResponseBody @ExceptionHandler(value=org.springframework.web.method.annotation.MethodArgumentTypeMismatchException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException e)
@ResponseBody @ExceptionHandler(value=org.springframework.web.HttpMediaTypeNotSupportedException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.web.HttpMediaTypeNotSupportedException e)
@ResponseBody @ExceptionHandler(value=javax.validation.ConstraintViolationException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(javax.validation.ConstraintViolationException e)
@ResponseBody @ExceptionHandler(value=org.springframework.dao.DataIntegrityViolationException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.dao.DataIntegrityViolationException e)
@ResponseBody @ExceptionHandler(value=org.hibernate.PropertyValueException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.hibernate.PropertyValueException e)
@ResponseBody @ExceptionHandler(value=org.hibernate.exception.DataException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.hibernate.exception.DataException e)
@ResponseBody @ExceptionHandler(value=org.hibernate.exception.ConstraintViolationException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.hibernate.exception.ConstraintViolationException e)
@ResponseBody @ExceptionHandler(value=org.springframework.dao.EmptyResultDataAccessException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.dao.EmptyResultDataAccessException e)
@ResponseBody @ExceptionHandler(value=org.springframework.dao.IncorrectResultSizeDataAccessException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.dao.IncorrectResultSizeDataAccessException e)
@ResponseBody @ExceptionHandler(value=org.springframework.orm.jpa.JpaObjectRetrievalFailureException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.orm.jpa.JpaObjectRetrievalFailureException e)
@ResponseBody @ExceptionHandler(value=org.springframework.dao.DataAccessException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.dao.DataAccessException e)
@ResponseBody @ExceptionHandler(value=org.springframework.http.converter.HttpMessageNotReadableException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.http.converter.HttpMessageNotReadableException e)
@ResponseBody @ExceptionHandler(value=org.springframework.validation.BindException.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(org.springframework.validation.BindException e)
@ResponseBody @ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity<com.xforceplus.tenant.core.exception.response.ErrorResponse> processException(java.lang.Exception e)