Class CreateConsentOrPaymentPossibleErrorHandler
- java.lang.Object
-
- de.adorsys.opba.protocol.xs2a.service.xs2a.consent.CreateConsentOrPaymentPossibleErrorHandler
-
@Service public class CreateConsentOrPaymentPossibleErrorHandler extends Object
Special service to parse ASPSP consent create/initiate responses on certain error conditions. For example used to catch exception on wrong IBAN input and if it is retryable to swallow the exception and call fallback routine.
-
-
Constructor Summary
Constructors Constructor Description CreateConsentOrPaymentPossibleErrorHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidtryCreateAndHandleErrors(org.flowable.engine.delegate.DelegateExecution execution, Runnable tryCreate)Swallows retryable (like wrong IBAN) consent initiation exceptions.
-
-
-
Method Detail
-
tryCreateAndHandleErrors
public void tryCreateAndHandleErrors(org.flowable.engine.delegate.DelegateExecution execution, Runnable tryCreate)Swallows retryable (like wrong IBAN) consent initiation exceptions.- Parameters:
tryCreate- Consent/payment creation function to call
-
-