summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2005-06-22 19:23:31 +0000
committerBenoit Foucher <benoit@zeroc.com>2005-06-22 19:23:31 +0000
commit5adb343e65d4c064152d87ecec014bbec84042d4 (patch)
tree75c809d59ec4874e519cd338714bc5627682edce /cpp/src/Ice/Exception.cpp
parentAdded session tests, completed update tests. (diff)
downloadice-5adb343e65d4c064152d87ecec014bbec84042d4.tar.bz2
ice-5adb343e65d4c064152d87ecec014bbec84042d4.tar.xz
ice-5adb343e65d4c064152d87ecec014bbec84042d4.zip
Added FileException
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r--cpp/src/Ice/Exception.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index 97e674f6952..52e531a8cd1 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -194,6 +194,17 @@ Ice::SocketException::ice_print(ostream& out) const
}
void
+Ice::FileException::ice_print(ostream& out) const
+{
+ Exception::ice_print(out);
+ out << ":\nfile exception: " << errorToString(error);
+ if(!path.empty())
+ {
+ out << "\npath: " << path;
+ }
+}
+
+void
Ice::ConnectFailedException::ice_print(ostream& out) const
{
Exception::ice_print(out);