summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletBKUWorker.java7
1 files changed, 4 insertions, 3 deletions
diff --git a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletBKUWorker.java b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletBKUWorker.java
index 8c1bd2bd..eb6cf30b 100644
--- a/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletBKUWorker.java
+++ b/BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletBKUWorker.java
@@ -126,8 +126,9 @@ public class AppletBKUWorker extends AbstractBKUWorker implements Runnable {
err.setErrorCode(6002);
} else {
Throwable cause = ex.getCause();
- if (cause != null) {
- log.error("caused by: " + cause.getMessage());
+ if (cause != null && cause instanceof InterruptedException) {
+ log.info("do not return error response, client might want to resume session");
+ finished = true;
}
err.setErrorCode(4000);
}
@@ -155,7 +156,7 @@ public class AppletBKUWorker extends AbstractBKUWorker implements Runnable {
} while (!finished);
- log.info("Done " + Thread.currentThread().getName());
+ log.info("Finished " + Thread.currentThread().getName());
} catch (WebServiceException ex) {
log.fatal("communication error with server STAL: " + ex.getMessage(), ex);