@RestControllerAdvice(basePackages="de.adorsys.psd2.xs2a.web.controller") public class GlobalExceptionHandlerController extends Object
| Constructor and Description |
|---|
GlobalExceptionHandlerController() |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.http.ResponseEntity |
aspspProfileRestException(de.adorsys.psd2.aspsp.profile.exception.AspspProfileRestException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
exception(Exception ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
getTppIdException(CertificateException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
httpMessageException(org.springframework.http.converter.HttpMessageNotReadableException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
illegalArgumentException(IllegalArgumentException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
mediaTypeNotSupportedException(org.springframework.web.HttpMediaTypeNotAcceptableException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
methodArgumentTypeMismatchException(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
requestBodyValidationException(org.springframework.web.bind.MethodArgumentNotValidException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
resourceAccessException(org.springframework.web.client.ResourceAccessException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
restException(RestException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
servletRequestBindingException(org.springframework.web.bind.ServletRequestBindingException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
validationException(javax.validation.ValidationException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
org.springframework.http.ResponseEntity |
wrongPaymentTypeException(WrongPaymentTypeException ex,
org.springframework.web.method.HandlerMethod handlerMethod) |
@ExceptionHandler(value=javax.validation.ValidationException.class)
public org.springframework.http.ResponseEntity validationException(javax.validation.ValidationException ex,
org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=org.springframework.web.bind.ServletRequestBindingException.class)
public org.springframework.http.ResponseEntity servletRequestBindingException(org.springframework.web.bind.ServletRequestBindingException ex,
org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=java.lang.IllegalArgumentException.class) public org.springframework.http.ResponseEntity illegalArgumentException(IllegalArgumentException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=org.springframework.http.converter.HttpMessageNotReadableException.class)
public org.springframework.http.ResponseEntity httpMessageException(org.springframework.http.converter.HttpMessageNotReadableException ex,
org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=org.springframework.web.HttpMediaTypeNotAcceptableException.class)
public org.springframework.http.ResponseEntity mediaTypeNotSupportedException(org.springframework.web.HttpMediaTypeNotAcceptableException ex,
org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=java.lang.Exception.class) public org.springframework.http.ResponseEntity exception(Exception ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=RestException.class) public org.springframework.http.ResponseEntity restException(RestException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=de.adorsys.psd2.aspsp.profile.exception.AspspProfileRestException.class)
public org.springframework.http.ResponseEntity aspspProfileRestException(de.adorsys.psd2.aspsp.profile.exception.AspspProfileRestException ex,
org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=org.springframework.web.client.ResourceAccessException.class)
public org.springframework.http.ResponseEntity resourceAccessException(org.springframework.web.client.ResourceAccessException ex,
org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=org.springframework.web.bind.MethodArgumentNotValidException.class)
public org.springframework.http.ResponseEntity requestBodyValidationException(org.springframework.web.bind.MethodArgumentNotValidException ex,
org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=CertificateException.class) public org.springframework.http.ResponseEntity getTppIdException(CertificateException ex, org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=org.springframework.web.method.annotation.MethodArgumentTypeMismatchException.class)
public org.springframework.http.ResponseEntity methodArgumentTypeMismatchException(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException ex,
org.springframework.web.method.HandlerMethod handlerMethod)
@ExceptionHandler(value=WrongPaymentTypeException.class) public org.springframework.http.ResponseEntity wrongPaymentTypeException(WrongPaymentTypeException ex, org.springframework.web.method.HandlerMethod handlerMethod)
Copyright © 2020. All rights reserved.