diff options
Diffstat (limited to 'src/main/java/at/gv/util/client/szr')
-rw-r--r-- | src/main/java/at/gv/util/client/szr/SZRClient.java | 5 |
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(); |