summaryrefslogtreecommitdiff
path: root/cpp/src/Ice/Exception.cpp
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2008-01-23 11:31:53 +0100
committerBenoit Foucher <benoit@zeroc.com>2008-01-23 11:31:53 +0100
commitc7fb26230801e62f3e690a8948d37c33517c4c13 (patch)
treef17689f60e13fbbd20d12473272a6f0652f39a78 /cpp/src/Ice/Exception.cpp
parentremoving EventHandler in C# (diff)
downloadice-c7fb26230801e62f3e690a8948d37c33517c4c13.tar.bz2
ice-c7fb26230801e62f3e690a8948d37c33517c4c13.tar.xz
ice-c7fb26230801e62f3e690a8948d37c33517c4c13.zip
- Added IceUtil::SyscallException and cleaned up few IceUtil exceptions
- Added errorToString() and lastErrorToString() functions to IceUtil/StringUtil.h - Replaced multiple implementations of errorToString methods with the IceUtil one. - Fixed bug 2641.
Diffstat (limited to 'cpp/src/Ice/Exception.cpp')
-rw-r--r--cpp/src/Ice/Exception.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/cpp/src/Ice/Exception.cpp b/cpp/src/Ice/Exception.cpp
index 7b7a87f746c..651c9f7277d 100644
--- a/cpp/src/Ice/Exception.cpp
+++ b/cpp/src/Ice/Exception.cpp
@@ -262,7 +262,7 @@ Ice::SyscallException::ice_print(ostream& out) const
Exception::ice_print(out);
if(error != 0)
{
- out << ":\nsyscall exception: " << errorToString(error);
+ out << ":\nsyscall exception: " << IceUtilInternal::errorToString(error);
}
}
@@ -277,7 +277,7 @@ Ice::SocketException::ice_print(ostream& out) const
}
else
{
- out << errorToString(error);
+ out << IceUtilInternal::errorToString(error);
}
}
@@ -292,7 +292,7 @@ Ice::FileException::ice_print(ostream& out) const
}
else
{
- out << errorToString(error);
+ out << IceUtilInternal::errorToString(error);
}
if(!path.empty())
{
@@ -304,14 +304,14 @@ void
Ice::ConnectFailedException::ice_print(ostream& out) const
{
Exception::ice_print(out);
- out << ":\nconnect failed: " << errorToString(error);
+ out << ":\nconnect failed: " << IceUtilInternal::errorToString(error);
}
void
Ice::ConnectionRefusedException::ice_print(ostream& out) const
{
Exception::ice_print(out);
- out << ":\nconnection refused: " << errorToString(error);
+ out << ":\nconnection refused: " << IceUtilInternal::errorToString(error);
}
void
@@ -325,7 +325,7 @@ Ice::ConnectionLostException::ice_print(ostream& out) const
}
else
{
- out << errorToString(error);
+ out << IceUtilInternal::errorToString(error);
}
}