diff options
author | Michi Henning <michi@zeroc.com> | 2007-11-21 16:37:35 +1000 |
---|---|---|
committer | Michi Henning <michi@zeroc.com> | 2007-11-21 16:37:35 +1000 |
commit | a383113f0becaa15b7e047798aa57026133f9077 (patch) | |
tree | db198efbd739eb6b6b3864c4fdbc0385e4f326be /cpp/src/Ice/Exception.cpp | |
parent | Fix a problem where protocol selection and other runtime flags were (diff) | |
download | ice-a383113f0becaa15b7e047798aa57026133f9077.tar.bz2 ice-a383113f0becaa15b7e047798aa57026133f9077.tar.xz ice-a383113f0becaa15b7e047798aa57026133f9077.zip |
Bug 2541.
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r-- | cpp/src/Ice/Exception.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp index 2510db8cffa..c147357e62c 100644 --- a/cpp/src/Ice/Exception.cpp +++ b/cpp/src/Ice/Exception.cpp @@ -52,6 +52,15 @@ Ice::LocalException::~LocalException() throw() { } +Ice::SystemException::SystemException(const char* file, int line) : + LocalException(file, line) +{ +} + +Ice::SystemException::~SystemException() throw() +{ +} + #if defined(__SUNPRO_CC) ostream& Ice::operator<<(ostream& out, const Ice::UserException& ex) @@ -66,6 +75,13 @@ Ice::operator<<(ostream& out, const Ice::LocalException& ex) ex.ice_print(out); return out; } + +ostream& +Ice::operator<<(ostream& out, const Ice::SystemException& ex) +{ + ex.ice_print(out); + return out; +} #endif void |