summaryrefslogtreecommitdiff
path: root/java/test/Ice/location/Client.java
diff options
context:
space:
mode:
authorMatthew Newhook <matthew@zeroc.com>2009-12-10 16:48:41 -0330
committerMatthew Newhook <matthew@zeroc.com>2009-12-10 16:48:41 -0330
commitb100f685d9c06ca4f37e8c6cef181d8b57dd953c (patch)
tree67dee355f300ee282795b19da8e04aa4206cc0c8 /java/test/Ice/location/Client.java
parentBug 4467 - Glacier2 callback demo failing (diff)
downloadice-b100f685d9c06ca4f37e8c6cef181d8b57dd953c.tar.bz2
ice-b100f685d9c06ca4f37e8c6cef181d8b57dd953c.tar.xz
ice-b100f685d9c06ca4f37e8c6cef181d8b57dd953c.zip
Squashed commit of the following:
commit ee95291dd7f78c2c1d663ea54171aa56d418471b Author: Matthew Newhook <matthew@november.matthew.zeroc.com> Date: Thu Dec 10 16:47:47 2009 -0330 align all location tests. Fix bug with AMI with java/C#.
Diffstat (limited to 'java/test/Ice/location/Client.java')
-rw-r--r--java/test/Ice/location/Client.java21
1 files changed, 20 insertions, 1 deletions
diff --git a/java/test/Ice/location/Client.java b/java/test/Ice/location/Client.java
index 8f32d31cbd1..619cd5c3870 100644
--- a/java/test/Ice/location/Client.java
+++ b/java/test/Ice/location/Client.java
@@ -14,7 +14,26 @@ public class Client extends test.Util.Application
public int run(String[] args)
{
Ice.Communicator communicator = communicator();
- AllTests.allTests(communicator, getWriter());
+ try
+ {
+ AllTests.allTests(communicator, getWriter());
+ }
+ catch(Ice.AdapterAlreadyActiveException ex)
+ {
+ ex.printStackTrace();
+ throw new RuntimeException();
+ }
+ catch(Ice.AdapterNotFoundException ex)
+ {
+ ex.printStackTrace();
+ throw new RuntimeException();
+ }
+ catch(InterruptedException ex)
+ {
+ ex.printStackTrace();
+ throw new RuntimeException();
+ }
+
return 0;
}