summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r--cpp/src/Ice/Exception.cpp16
1 files changed, 15 insertions, 1 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index 9ecde5040f7..7df89f3d7ac 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -116,6 +116,13 @@ Ice::EndpointParseException::ice_print(ostream& out) const
}
void
+Ice::IdentityParseException::ice_print(ostream& out) const
+{
+ Exception::ice_print(out);
+ out << ":\nerror while parsing identity `" << str << "'";
+}
+
+void
Ice::ProxyParseException::ice_print(ostream& out) const
{
Exception::ice_print(out);
@@ -123,6 +130,13 @@ Ice::ProxyParseException::ice_print(ostream& out) const
}
void
+Ice::IllegalIdentityException::ice_print(ostream& out) const
+{
+ Exception::ice_print(out);
+ out << ":\nillegal identity: `" << id << "'";
+}
+
+void
Ice::LocationForwardIdentityException::ice_print(ostream& out) const
{
Exception::ice_print(out);
@@ -132,7 +146,7 @@ Ice::LocationForwardIdentityException::ice_print(ostream& out) const
static void
printFailedRequestData(ostream& out, const RequestFailedException& ex)
{
- out << "\nidentity: " << identityToString(ex.id);
+ out << "\nidentity: " << ex.id;
out << "\nfacet: ";
vector<string>::const_iterator p = ex.facet.begin();
while(p != ex.facet.end())