Package de.adorsys.psd2.xs2a.exception
Class GlobalExceptionHandlerController
- java.lang.Object
-
- de.adorsys.psd2.xs2a.exception.GlobalExceptionHandlerController
-
@RestControllerAdvice(basePackages="de.adorsys.psd2.xs2a.web.controller") public class GlobalExceptionHandlerController extends Object
-
-
Constructor Summary
Constructors Constructor Description GlobalExceptionHandlerController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntityaspspProfileRestException(de.adorsys.psd2.aspsp.profile.exception.AspspProfileRestException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntityexception(Exception ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntitygetTppIdException(CertificateException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntityhttpMessageException(org.springframework.http.converter.HttpMessageNotReadableException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntityillegalArgumentException(IllegalArgumentException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntitymediaTypeNotSupportedException(org.springframework.web.HttpMediaTypeNotAcceptableException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntitymethodArgumentTypeMismatchException(org.springframework.web.method.annotation.MethodArgumentTypeMismatchException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntityrequestBodyValidationException(org.springframework.web.bind.MethodArgumentNotValidException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntityresourceAccessException(org.springframework.web.client.ResourceAccessException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntityrestException(RestException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntityservletRequestBindingException(org.springframework.web.bind.ServletRequestBindingException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntityvalidationException(javax.validation.ValidationException ex, org.springframework.web.method.HandlerMethod handlerMethod)org.springframework.http.ResponseEntitywrongPaymentTypeException(WrongPaymentTypeException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
-
-
Method Detail
-
validationException
@ExceptionHandler(javax.validation.ValidationException.class) public org.springframework.http.ResponseEntity validationException(javax.validation.ValidationException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
servletRequestBindingException
@ExceptionHandler(org.springframework.web.bind.ServletRequestBindingException.class) public org.springframework.http.ResponseEntity servletRequestBindingException(org.springframework.web.bind.ServletRequestBindingException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
illegalArgumentException
@ExceptionHandler(java.lang.IllegalArgumentException.class) public org.springframework.http.ResponseEntity illegalArgumentException(IllegalArgumentException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
httpMessageException
@ExceptionHandler(org.springframework.http.converter.HttpMessageNotReadableException.class) public org.springframework.http.ResponseEntity httpMessageException(org.springframework.http.converter.HttpMessageNotReadableException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
mediaTypeNotSupportedException
@ExceptionHandler(org.springframework.web.HttpMediaTypeNotAcceptableException.class) public org.springframework.http.ResponseEntity mediaTypeNotSupportedException(org.springframework.web.HttpMediaTypeNotAcceptableException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
exception
@ExceptionHandler(java.lang.Exception.class) public org.springframework.http.ResponseEntity exception(Exception ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
restException
@ExceptionHandler(RestException.class) public org.springframework.http.ResponseEntity restException(RestException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
aspspProfileRestException
@ExceptionHandler(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)
-
resourceAccessException
@ExceptionHandler(org.springframework.web.client.ResourceAccessException.class) public org.springframework.http.ResponseEntity resourceAccessException(org.springframework.web.client.ResourceAccessException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
requestBodyValidationException
@ExceptionHandler(org.springframework.web.bind.MethodArgumentNotValidException.class) public org.springframework.http.ResponseEntity requestBodyValidationException(org.springframework.web.bind.MethodArgumentNotValidException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
getTppIdException
@ExceptionHandler(CertificateException.class) public org.springframework.http.ResponseEntity getTppIdException(CertificateException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
methodArgumentTypeMismatchException
@ExceptionHandler(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)
-
wrongPaymentTypeException
@ExceptionHandler(WrongPaymentTypeException.class) public org.springframework.http.ResponseEntity wrongPaymentTypeException(WrongPaymentTypeException ex, org.springframework.web.method.HandlerMethod handlerMethod)
-
-