diff options
Diffstat (limited to 'java/src/IceGridGUI/SessionKeeper.java')
-rw-r--r-- | java/src/IceGridGUI/SessionKeeper.java | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/java/src/IceGridGUI/SessionKeeper.java b/java/src/IceGridGUI/SessionKeeper.java index 6224d3d08f5..2f1f3012fc0 100644 --- a/java/src/IceGridGUI/SessionKeeper.java +++ b/java/src/IceGridGUI/SessionKeeper.java @@ -2897,13 +2897,19 @@ public class SessionKeeper private boolean containsSecureEndpoints(String str) { - for(Ice.Endpoint endpoint : _coordinator.getWizardCommunicator().stringToProxy(str).ice_getEndpoints()) + try { - if(endpoint.getInfo().secure()) + for(Ice.Endpoint endpoint : _coordinator.getWizardCommunicator().stringToProxy(str).ice_getEndpoints()) { - return true; + if(endpoint.getInfo().secure()) + { + return true; + } } } + catch(Ice.EndpointParseException ex) + { + } return false; } |