summaryrefslogtreecommitdiff
path: root/smccSTAL/src/main
diff options
context:
space:
mode:
authortkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-08-31 18:21:55 +0000
committertkellner <tkellner@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2011-08-31 18:21:55 +0000
commit58ee12a9fe53bc528c4c1e39de22a5184687a260 (patch)
tree68a854a477540d4c5ba9ac947146d42ad4624006 /smccSTAL/src/main
parent47fbe37596e3e4029015f50d8010f11f3b8d8c7a (diff)
downloadmocca-58ee12a9fe53bc528c4c1e39de22a5184687a260.tar.gz
mocca-58ee12a9fe53bc528c4c1e39de22a5184687a260.tar.bz2
mocca-58ee12a9fe53bc528c4c1e39de22a5184687a260.zip
Cosmetics...
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@966 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'smccSTAL/src/main')
-rw-r--r--smccSTAL/src/main/java/at/gv/egiz/bku/smccstal/AbstractSMCCSTAL.java4
1 files changed, 2 insertions, 2 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 1f701966..54a30035 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
@@ -74,7 +74,7 @@ public abstract class AbstractSMCCSTAL implements STAL {
private STALResponse getResponse(STALRequest request) throws InterruptedException {
int retryCounter = 0;
while (retryCounter < maxRetries) {
- log.info("Retry #{} of {}.", retryCounter, maxRetries);
+ log.info("Retry #{} of {}.", retryCounter+1, maxRetries);
SMCCSTALRequestHandler handler = null;
handler = handlerMap.get(request.getClass().getSimpleName());
if (handler != null) {
@@ -154,7 +154,7 @@ public abstract class AbstractSMCCSTAL implements STAL {
}
} catch (InterruptedException ex) {
log.error("Interrupted during request handling.");
- throw new RuntimeException("nterrupted during request handling", ex);
+ throw new RuntimeException("Interrupted during request handling", ex);
}
}