summaryrefslogtreecommitdiff
path: root/java/demo
diff options
context:
space:
mode:
Diffstat (limited to 'java/demo')
-rw-r--r--java/demo/Ice/value/Client.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/java/demo/Ice/value/Client.java b/java/demo/Ice/value/Client.java
index fb05e64c73c..768ad9ea275 100644
--- a/java/demo/Ice/value/Client.java
+++ b/java/demo/Ice/value/Client.java
@@ -80,13 +80,13 @@ public class Client
try
{
initial.getPrinter(printer, printerProxy);
+ System.err.println("Did not get the expected NoObjectFactoryException!");
+ System.exit(1);
}
catch(Ice.NoObjectFactoryException ex)
{
System.out.println("==> " + ex);
- gotException = true;
}
- assert(gotException);
System.out.println();
System.out.println("Yep, that's what we expected. Now let's try again, but with");