diff options
author | Benoit Foucher <benoit@zeroc.com> | 2005-06-22 19:23:31 +0000 |
---|---|---|
committer | Benoit Foucher <benoit@zeroc.com> | 2005-06-22 19:23:31 +0000 |
commit | 5adb343e65d4c064152d87ecec014bbec84042d4 (patch) | |
tree | 75c809d59ec4874e519cd338714bc5627682edce /cpp/src/Ice/Exception.cpp | |
parent | Added session tests, completed update tests. (diff) | |
download | ice-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.cpp | 11 |
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); |