summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2002-04-19 19:32:21 +0000
committerMarc Laukien <marc@zeroc.com>2002-04-19 19:32:21 +0000
commit101fc61aa6768b1b9fcbc9911bf83509b221d403 (patch)
treea31861a676d9cf06700aa8c3d3508d867a02882f /cpp/src/Ice/Exception.cpp
parent#ifdef test that causes problems under Linux (diff)
downloadice-101fc61aa6768b1b9fcbc9911bf83509b221d403.tar.bz2
ice-101fc61aa6768b1b9fcbc9911bf83509b221d403.tar.xz
ice-101fc61aa6768b1b9fcbc9911bf83509b221d403.zip
added members to object, facet, and operation not exist exceptions
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r--cpp/src/Ice/Exception.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index fa9fc9299f4..738551e0d49 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -9,8 +9,10 @@
// **********************************************************************
#include <Ice/Exception.h>
+#include <Ice/LocalException.h>
#include <Ice/Network.h>
#include <Ice/Stream.h>
+#include <Ice/IdentityUtil.h>
using namespace std;
using namespace Ice;
@@ -103,21 +105,21 @@ void
Ice::ObjectNotExistException::ice_print(ostream& out) const
{
Exception::ice_print(out);
- out << ":\nobject does not exist";
+ out << ":\nobject `" << identityToString(identity) << "' does not exist";
}
void
Ice::FacetNotExistException::ice_print(ostream& out) const
{
Exception::ice_print(out);
- out << ":\nfacet does not exist";
+ out << ":\nfacet `" << facet << "' does not exist";
}
void
Ice::OperationNotExistException::ice_print(ostream& out) const
{
Exception::ice_print(out);
- out << ":\noperation does not exist";
+ out << ":\noperation `" << operation << "' does not exist";
}
void