summaryrefslogtreecommitdiff
path: root/cpp/src/IceUtil/Exception.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2006-11-09 15:07:22 +0000
committerDwayne Boone <dwayne@zeroc.com>2006-11-09 15:07:22 +0000
commitaaf01c6aa0aac4d8ac6c32eea9e221f9f5d4930d (patch)
tree1980eff298c3bd35f71f67421f6d0bda4ce634ec /cpp/src/IceUtil/Exception.cpp
parentFixes for relication test failure on Solaris (diff)
downloadice-aaf01c6aa0aac4d8ac6c32eea9e221f9f5d4930d.tar.bz2
ice-aaf01c6aa0aac4d8ac6c32eea9e221f9f5d4930d.tar.xz
ice-aaf01c6aa0aac4d8ac6c32eea9e221f9f5d4930d.zip
Derive from std::exception
Diffstat (limited to 'cpp/src/IceUtil/Exception.cpp')
-rw-r--r--cpp/src/IceUtil/Exception.cpp10
1 files changed, 9 insertions, 1 deletions
diff --git a/cpp/src/IceUtil/Exception.cpp b/cpp/src/IceUtil/Exception.cpp
index f61cbfda023..b5bea03a7ee 100644
--- a/cpp/src/IceUtil/Exception.cpp
+++ b/cpp/src/IceUtil/Exception.cpp
@@ -30,7 +30,7 @@ IceUtil::Exception::Exception(const char* file, int line) :
{
}
-IceUtil::Exception::~Exception()
+IceUtil::Exception::~Exception() throw()
{
}
@@ -92,6 +92,10 @@ IceUtil::NullHandleException::NullHandleException(const char* file, int line) :
}
}
+IceUtil::NullHandleException::~NullHandleException() throw()
+{
+}
+
const char* IceUtil::NullHandleException::_name = "IceUtil::NullHandleException";
string
@@ -123,6 +127,10 @@ IceUtil::IllegalArgumentException::IllegalArgumentException(const char* file, in
{
}
+IceUtil::IllegalArgumentException::~IllegalArgumentException() throw()
+{
+}
+
const char* IceUtil::IllegalArgumentException::_name = "IceUtil::IllegalArgumentException";
string