diff options
author | Benoit Foucher <benoit@zeroc.com> | 2006-07-07 12:44:30 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2006-07-07 12:44:30 +0000 |
commit | c1835badd657d709ba178f77438d99cf088f5bcf (patch) | |
tree | 57b101a355c89bdb1dc13593314f26df3000c4fe /java/demo/IceGrid/allocate/Client.java | |
parent | Ignore ObjectNotRegisteredException (diff) | |
download | ice-c1835badd657d709ba178f77438d99cf088f5bcf.tar.bz2 ice-c1835badd657d709ba178f77438d99cf088f5bcf.tar.xz ice-c1835badd657d709ba178f77438d99cf088f5bcf.zip |
Added error message if allocation exception
Diffstat (limited to 'java/demo/IceGrid/allocate/Client.java')
-rw-r--r-- | java/demo/IceGrid/allocate/Client.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/java/demo/IceGrid/allocate/Client.java b/java/demo/IceGrid/allocate/Client.java index 300169ac940..09c4662303d 100644 --- a/java/demo/IceGrid/allocate/Client.java +++ b/java/demo/IceGrid/allocate/Client.java @@ -130,6 +130,8 @@ public class Client extends Ice.Application } catch(IceGrid.AllocationException ex) { + System.err.println("could not allocate object: " + ex.reason); + return 1; } catch(IceGrid.ObjectNotRegisteredException ex) { |