diff options
author | Mark Spruiell <mes@zeroc.com> | 2003-05-25 14:38:41 +0000 |
---|---|---|
committer | Mark Spruiell <mes@zeroc.com> | 2003-05-25 14:38:41 +0000 |
commit | 6c3d7563a55cd990c61ec471028f5068918c4994 (patch) | |
tree | dc7e62cb6bb20bb86a1c20327cb3a8db9fccbf03 /java/demo/Freeze/phonebook/Parser.java | |
parent | Removed Precompiled Headers (PCH) (diff) | |
download | ice-6c3d7563a55cd990c61ec471028f5068918c4994.tar.bz2 ice-6c3d7563a55cd990c61ec471028f5068918c4994.tar.xz ice-6c3d7563a55cd990c61ec471028f5068918c4994.zip |
minor fixes
Diffstat (limited to 'java/demo/Freeze/phonebook/Parser.java')
-rw-r--r-- | java/demo/Freeze/phonebook/Parser.java | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/java/demo/Freeze/phonebook/Parser.java b/java/demo/Freeze/phonebook/Parser.java index 6f8a3a417b2..b9b1e800964 100644 --- a/java/demo/Freeze/phonebook/Parser.java +++ b/java/demo/Freeze/phonebook/Parser.java @@ -155,6 +155,10 @@ class Parser System.out.println("no current contact"); } } + catch(Ice.ObjectNotExistException ex) + { + System.out.println("current contact no longer exists"); + } catch(DatabaseException ex) { error(ex.message); @@ -187,6 +191,10 @@ class Parser System.out.println( "no current contact" ); } } + catch(Ice.ObjectNotExistException ex) + { + System.out.println("current contact no longer exists"); + } catch(Ice.LocalException ex) { error(ex.toString()); @@ -216,6 +224,10 @@ class Parser System.out.println( "no current contact" ); } } + catch(Ice.ObjectNotExistException ex) + { + System.out.println("current contact no longer exists"); + } catch(Ice.LocalException ex) { error(ex.toString()); @@ -237,6 +249,10 @@ class Parser System.out.println( "no current contact" ); } } + catch(Ice.ObjectNotExistException ex) + { + System.out.println("current contact no longer exists"); + } catch(DatabaseException ex) { error(ex.message); |