diff options
author | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-03-10 13:36:34 +0000 |
---|---|---|
committer | clemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4> | 2009-03-10 13:36:34 +0000 |
commit | 7cc403b3ce468e82a57811336def347cb6c9025e (patch) | |
tree | d4c6720bdd3cfb82ec6130ca687ca7fcbc892d1d /BKUApplet/src/main/java/at | |
parent | 18932bb8a7ebf805026701416389e08bdb0d6dae (diff) | |
download | mocca-7cc403b3ce468e82a57811336def347cb6c9025e.tar.gz mocca-7cc403b3ce468e82a57811336def347cb6c9025e.tar.bz2 mocca-7cc403b3ce468e82a57811336def347cb6c9025e.zip |
do not return errorResponse on interrupt
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@319 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'BKUApplet/src/main/java/at')
-rw-r--r-- | BKUApplet/src/main/java/at/gv/egiz/bku/online/applet/AppletBKUWorker.java | 7 |
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); |