diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-26 20:05:00 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-26 20:05:00 +0000 |
commit | 57ec89e8da9e0d0f7ecd4ed6b144d068513371b1 (patch) | |
tree | c5e80d25f5e3b2bcd818d00a1686ccdaa0076a14 /java/test/Ice/operations/Client.java | |
parent | do not commit servant after destroyObject (diff) | |
download | ice-57ec89e8da9e0d0f7ecd4ed6b144d068513371b1.tar.bz2 ice-57ec89e8da9e0d0f7ecd4ed6b144d068513371b1.tar.xz ice-57ec89e8da9e0d0f7ecd4ed6b144d068513371b1.zip |
rewrote connection validation code
Diffstat (limited to 'java/test/Ice/operations/Client.java')
-rw-r--r-- | java/test/Ice/operations/Client.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/java/test/Ice/operations/Client.java b/java/test/Ice/operations/Client.java index bb4068c4c09..204ce57520e 100644 --- a/java/test/Ice/operations/Client.java +++ b/java/test/Ice/operations/Client.java @@ -23,11 +23,7 @@ public class Client myClass.opVoid(); throw new RuntimeException(); } - catch(Ice.CloseConnectionException ex) - { - System.out.println("ok"); - } - catch(Ice.ConnectFailedException ex) + catch(Ice.LocalException ex) { System.out.println("ok"); } |