summaryrefslogtreecommitdiff
path: root/src/main/java/at/gv/util/client/szr
diff options
context:
space:
mode:
authorThomas Lenz <thomas.lenz@egiz.gv.at>2014-10-16 09:01:39 +0200
committerThomas Lenz <thomas.lenz@egiz.gv.at>2014-10-16 09:01:39 +0200
commit2f3b7f180511a5e0af674e3a25ddbaabaa38d36c (patch)
treec6837f2224eceb77df85a731410db62580472113 /src/main/java/at/gv/util/client/szr
parent74c85b426a1a690ac4492f65abcab201b5220c94 (diff)
downloadegovutils-2f3b7f180511a5e0af674e3a25ddbaabaa38d36c.tar.gz
egovutils-2f3b7f180511a5e0af674e3a25ddbaabaa38d36c.tar.bz2
egovutils-2f3b7f180511a5e0af674e3a25ddbaabaa38d36c.zip
update to Apache commons-http 4.3
Diffstat (limited to 'src/main/java/at/gv/util/client/szr')
-rw-r--r--src/main/java/at/gv/util/client/szr/SZRClient.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main/java/at/gv/util/client/szr/SZRClient.java b/src/main/java/at/gv/util/client/szr/SZRClient.java
index cb98210..97e3d12 100644
--- a/src/main/java/at/gv/util/client/szr/SZRClient.java
+++ b/src/main/java/at/gv/util/client/szr/SZRClient.java
@@ -125,6 +125,11 @@ public class SZRClient {
szrURL = config.getSZRProductionEnvironmentURL();
}
+ if (MiscUtil.isEmpty(szrURL)) {
+ log.info("No SZR service URL found. SZR-Client initalisiation failed.");
+ throw new EgovUtilException("No SZR service URL found. SZR-Client initalisiation failed.");
+ }
+
log.trace("SZR connection URL: " + szrURL);
BindingProvider bindingProvider = (BindingProvider) szr;
Map<String, Object> requestContext = bindingProvider.getRequestContext();