summaryrefslogtreecommitdiff
path: root/java/test/Ice/objects/Collocated.java
diff options
context:
space:
mode:
Diffstat (limited to 'java/test/Ice/objects/Collocated.java')
-rw-r--r--java/test/Ice/objects/Collocated.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/test/Ice/objects/Collocated.java b/java/test/Ice/objects/Collocated.java
index bb99a16eecf..3b14d86c061 100644
--- a/java/test/Ice/objects/Collocated.java
+++ b/java/test/Ice/objects/Collocated.java
@@ -34,7 +34,7 @@ public class Collocated
communicator = Ice.Util.initialize(args);
status = run(args, communicator);
}
- catch(Ice.RuntimeException ex)
+ catch(Ice.LocalException ex)
{
ex.printStackTrace();
status = 1;
@@ -46,7 +46,7 @@ public class Collocated
{
communicator.destroy();
}
- catch(Ice.RuntimeException ex)
+ catch(Ice.LocalException ex)
{
ex.printStackTrace();
status = 1;