aboutsummaryrefslogtreecommitdiff
path: root/id/ConfigWebTool/src/main
diff options
context:
space:
mode:
authorBojan Suzic <bojan.suzic@iaik.tugraz.at>2015-05-11 14:29:43 +0200
committerBojan Suzic <bojan.suzic@iaik.tugraz.at>2015-05-11 14:29:43 +0200
commit387169d0d5f022dea6ad5cd5ecc5a31ce9bf21d9 (patch)
tree7ce112fb6c6d2fea31af8b4e9ad07744113a1d1f /id/ConfigWebTool/src/main
parent6501da184914a797babb2a2a49eb0d88fd6aacbc (diff)
downloadmoa-id-spss-387169d0d5f022dea6ad5cd5ecc5a31ce9bf21d9.tar.gz
moa-id-spss-387169d0d5f022dea6ad5cd5ecc5a31ce9bf21d9.tar.bz2
moa-id-spss-387169d0d5f022dea6ad5cd5ecc5a31ce9bf21d9.zip
velocity engine init exception handling
Diffstat (limited to 'id/ConfigWebTool/src/main')
-rw-r--r--id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/auth/pvp2/PVP2Utils.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/auth/pvp2/PVP2Utils.java b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/auth/pvp2/PVP2Utils.java
index 3d66a4b19..3b2e0bd08 100644
--- a/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/auth/pvp2/PVP2Utils.java
+++ b/id/ConfigWebTool/src/main/java/at/gv/egovernment/moa/id/configuration/auth/pvp2/PVP2Utils.java
@@ -125,7 +125,10 @@ public class PVP2Utils {
log.warn("Encode PVP 2.1 message FAILED.", e);
throw new PVP2Exception("Encode PVP 2.1 message FAILED.", e);
- }
+ } catch (Exception ex) {
+ log.warn("Initialization exception", ex);
+ throw new PVP2Exception("Initializing Velocity engine FAILED.", ex);
+ }
}