diff options
author | Jose <jose@zeroc.com> | 2013-01-24 19:56:02 +0100 |
---|---|---|
committer | Jose <jose@zeroc.com> | 2013-01-24 19:56:02 +0100 |
commit | e07d135ab2e8a82fe04955c19c93a98b85d955ca (patch) | |
tree | 8f462529701347445b1c85ae72eb192d8e8e1ac7 /java/src/IceGridGUI/SessionKeeper.java | |
parent | Fixed Certificate Manager to import Certificate Entries (diff) | |
download | ice-e07d135ab2e8a82fe04955c19c93a98b85d955ca.tar.bz2 ice-e07d135ab2e8a82fe04955c19c93a98b85d955ca.tar.xz ice-e07d135ab2e8a82fe04955c19c93a98b85d955ca.zip |
IceGridGUI minor fix
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; } |