summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-03-10 13:36:20 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2009-03-10 13:36:20 +0000
commit18932bb8a7ebf805026701416389e08bdb0d6dae (patch)
tree4bd0c7d3b9f6d85e92e34e194c438e703e2b9e17
parent28e772965f4fb313aeb5018e6104943a1177bc06 (diff)
downloadmocca-18932bb8a7ebf805026701416389e08bdb0d6dae.tar.gz
mocca-18932bb8a7ebf805026701416389e08bdb0d6dae.tar.bz2
mocca-18932bb8a7ebf805026701416389e08bdb0d6dae.zip
do not return errorResponse on interrupt
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@318 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java6
1 files changed, 3 insertions, 3 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 3691156e..1cf81e05 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
@@ -101,7 +101,7 @@ public abstract class AbstractSMCCSTAL implements STAL {
return null;
}
} catch (InterruptedException e) {
- log.info("Interrupt in handleRequest, do not retry");
+ log.info("Interrupt during request handling, do not retry");
throw e;
} catch (Exception e) {
log.info("Error while handling STAL request:", e);
@@ -140,8 +140,8 @@ public abstract class AbstractSMCCSTAL implements STAL {
}
}
} catch (InterruptedException ex) {
- log.error("got interrupted, return ErrorResponse 6001");
- throw new RuntimeException(ex);
+ log.error("interrupted during request handling");
+ throw new RuntimeException("interrupted during request handling", ex);
}
}