@ControllerAdvice public class ExceptionHandlerAdvice extends Object
| Constructor and Description |
|---|
ExceptionHandlerAdvice() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity<Messages> |
handleAccessDeniedException(javax.servlet.ServletRequest request,
org.springframework.security.access.AccessDeniedException e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleConstraintViolationException(javax.validation.ConstraintViolationException e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleException(CompletionException e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleException(Exception e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleException(org.kapott.hbci.exceptions.HBCI_Exception e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleException(de.adorsys.multibanking.domain.exception.MultibankingException e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleException(ParametrizedMessageException e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleHttpMessageNotReadableException(org.springframework.http.converter.HttpMessageNotReadableException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleHttpRequestMethodNotSupportedException(org.springframework.web.HttpRequestMethodNotSupportedException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleHttpStatusCodeException(org.springframework.web.client.HttpStatusCodeException e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleInvalidCheckDigitException(org.iban4j.InvalidCheckDigitException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleMethodArgumentNotValidException(org.springframework.web.bind.MethodArgumentNotValidException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleMethodArgumentTypeMismatchException(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException e,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleMethodBindException(org.springframework.validation.BindException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity<Messages> |
handleUnsatisfiedServletRequestParameterException(org.springframework.web.bind.ServletRequestBindingException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
@ResponseStatus @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleException(Exception e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=BAD_REQUEST) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleException(org.kapott.hbci.exceptions.HBCI_Exception e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=INTERNAL_SERVER_ERROR) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleException(CompletionException e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleException(de.adorsys.multibanking.domain.exception.MultibankingException e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=FORBIDDEN) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleAccessDeniedException(javax.servlet.ServletRequest request, org.springframework.security.access.AccessDeniedException e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleException(ParametrizedMessageException e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleHttpStatusCodeException(org.springframework.web.client.HttpStatusCodeException e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=BAD_REQUEST) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleMethodArgumentTypeMismatchException(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=BAD_REQUEST) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleMethodArgumentNotValidException(org.springframework.web.bind.MethodArgumentNotValidException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=BAD_REQUEST) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleMethodBindException(org.springframework.validation.BindException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=BAD_REQUEST) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleConstraintViolationException(javax.validation.ConstraintViolationException e, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=BAD_REQUEST) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleUnsatisfiedServletRequestParameterException(org.springframework.web.bind.ServletRequestBindingException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=BAD_REQUEST) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleHttpMessageNotReadableException(org.springframework.http.converter.HttpMessageNotReadableException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=METHOD_NOT_ALLOWED) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleHttpRequestMethodNotSupportedException(org.springframework.web.HttpRequestMethodNotSupportedException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ResponseStatus(code=BAD_REQUEST) @ExceptionHandler @ResponseBody public org.springframework.http.ResponseEntity<Messages> handleInvalidCheckDigitException(org.iban4j.InvalidCheckDigitException ex, org.springframework.web.method.HandlerMethod handlerMethod)
Copyright © 2020. All rights reserved.