Class ProfileExceptionAdvisor
- java.lang.Object
-
- de.adorsys.psd2.aspsp.profile.web.exception.ProfileExceptionAdvisor
-
@ControllerAdvice public class ProfileExceptionAdvisor extends Object
-
-
Constructor Summary
Constructors Constructor Description ProfileExceptionAdvisor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.springframework.http.ResponseEntity<ErrorMessage>handleAspspProfileConfigurationNotFoundException(Exception ex)org.springframework.http.ResponseEntity<ErrorMessage>handleInstanceIdIsMandatoryHeaderException(Exception ex)
-
-
-
Method Detail
-
handleAspspProfileConfigurationNotFoundException
@ExceptionHandler(de.adorsys.psd2.aspsp.profile.exception.AspspProfileConfigurationNotFoundException.class) public org.springframework.http.ResponseEntity<ErrorMessage> handleAspspProfileConfigurationNotFoundException(Exception ex)
-
handleInstanceIdIsMandatoryHeaderException
@ExceptionHandler(de.adorsys.psd2.aspsp.profile.exception.InstanceIdIsMandatoryHeaderException.class) public org.springframework.http.ResponseEntity<ErrorMessage> handleInstanceIdIsMandatoryHeaderException(Exception ex)
-
-