diff options
Diffstat (limited to 'cpp/demo/Freeze/library/Parser.cpp')
-rw-r--r-- | cpp/demo/Freeze/library/Parser.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cpp/demo/Freeze/library/Parser.cpp b/cpp/demo/Freeze/library/Parser.cpp index 01399e5088f..0837d668eb7 100644 --- a/cpp/demo/Freeze/library/Parser.cpp +++ b/cpp/demo/Freeze/library/Parser.cpp @@ -197,6 +197,10 @@ Parser::printCurrent() cout << "no current book" << endl; } } + catch(const Ice::ObjectNotExistException&) + { + cout << "current book no longer exists" << endl; + } catch(const Exception& ex) { ostringstream s; |