summaryrefslogtreecommitdiff
path: root/cpp/demo/Freeze/library/LibraryI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/demo/Freeze/library/LibraryI.cpp')
-rw-r--r--cpp/demo/Freeze/library/LibraryI.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/demo/Freeze/library/LibraryI.cpp b/cpp/demo/Freeze/library/LibraryI.cpp
index 25fe1ab291f..6b9bd30ef4f 100644
--- a/cpp/demo/Freeze/library/LibraryI.cpp
+++ b/cpp/demo/Freeze/library/LibraryI.cpp
@@ -42,13 +42,13 @@ BookI::destroy(const Ice::Current&)
{
_library->remove(description);
}
- catch(const Freeze::DBNotFoundException&)
+ catch(const Freeze::NotFoundException&)
{
//
// Raised by remove. Ignore.
//
}
- catch(const Freeze::DBException& ex)
+ catch(const Freeze::DatabaseException& ex)
{
DatabaseException e;
e.message = ex.message;
@@ -298,7 +298,7 @@ LibraryI::remove(const BookDescription& description)
//
if(p == _authors.end())
{
- throw Freeze::DBNotFoundException(__FILE__, __LINE__);
+ throw Freeze::NotFoundException(__FILE__, __LINE__);
}
//
@@ -330,7 +330,7 @@ LibraryI::remove(const BookDescription& description)
//
_evictor->destroyObject(createBookIdentity(description.isbn));
}
- catch(const Freeze::DBException& ex)
+ catch(const Freeze::DatabaseException& ex)
{
DatabaseException e;
e.message = ex.message;