diff options
author | Marc Laukien <marc@zeroc.com> | 2002-09-20 13:12:50 +0000 |
---|---|---|
committer | Marc Laukien <marc@zeroc.com> | 2002-09-20 13:12:50 +0000 |
commit | d99db9620ba052e79cd5bd40c75306f600f9c48c (patch) | |
tree | 8b5bf4d7b52f1e60469cb48e6b466e7f4b08c41f /java/demo/Freeze/library/Parser.java | |
parent | minor (diff) | |
download | ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.bz2 ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.tar.xz ice-d99db9620ba052e79cd5bd40c75306f600f9c48c.zip |
Runtime->Local
Diffstat (limited to 'java/demo/Freeze/library/Parser.java')
-rw-r--r-- | java/demo/Freeze/library/Parser.java | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/java/demo/Freeze/library/Parser.java b/java/demo/Freeze/library/Parser.java index 6a1557e3de6..7fc771c49e8 100644 --- a/java/demo/Freeze/library/Parser.java +++ b/java/demo/Freeze/library/Parser.java @@ -61,7 +61,7 @@ class Parser { error("the book already exists."); } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } @@ -97,7 +97,7 @@ class Parser { error(ex.message); } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } @@ -123,7 +123,7 @@ class Parser { error(ex.message); } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } @@ -170,7 +170,7 @@ class Parser System.out.println("no current book"); } } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } @@ -201,7 +201,7 @@ class Parser { System.out.println("the book has already been rented."); } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } @@ -226,7 +226,7 @@ class Parser { System.out.println("the book is not currently rented."); } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } @@ -251,7 +251,7 @@ class Parser { error(ex.message); } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } @@ -279,7 +279,7 @@ class Parser { error(ex.message); } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } @@ -292,7 +292,7 @@ class Parser { _library.shutdown(); } - catch(Ice.RuntimeException ex) + catch(Ice.LocalException ex) { error(ex.toString()); } |