summaryrefslogtreecommitdiff
path: root/smccSTAL/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'smccSTAL/src/main/java/at')
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
index b7697db1..b48388db 100644
--- a/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
+++ b/smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java
@@ -89,6 +89,10 @@ public abstract class AbstractSMCCSTAL implements STAL {
if (response != null) {
if (response instanceof ErrorResponse) {
log.info("Got an error response");
+ ErrorResponse err = (ErrorResponse) response;
+ if (err.getErrorCode() == 6001) {
+ retryCounter = Integer.MAX_VALUE-1;
+ }
if (++retryCounter < maxRetries) {
log.info("Retrying");
signatureCard.disconnect(true);