summaryrefslogtreecommitdiff
path: root/cppe/src/IceE/ExceptionBase.cpp
diff options
context:
space:
mode:
authorDwayne Boone <dwayne@zeroc.com>2005-07-11 16:41:12 +0000
committerDwayne Boone <dwayne@zeroc.com>2005-07-11 16:41:12 +0000
commit8ff7c2608eb845c3b6b637f4648ae726a11a158b (patch)
treef1dfb4d3a63752357480561fdd94f37692d8eb47 /cppe/src/IceE/ExceptionBase.cpp
parentfix some recent changes to build in J2ME (diff)
downloadice-8ff7c2608eb845c3b6b637f4648ae726a11a158b.tar.bz2
ice-8ff7c2608eb845c3b6b637f4648ae726a11a158b.tar.xz
ice-8ff7c2608eb845c3b6b637f4648ae726a11a158b.zip
Put back IceUtil namespace
Diffstat (limited to 'cppe/src/IceE/ExceptionBase.cpp')
-rwxr-xr-xcppe/src/IceE/ExceptionBase.cpp36
1 files changed, 18 insertions, 18 deletions
diff --git a/cppe/src/IceE/ExceptionBase.cpp b/cppe/src/IceE/ExceptionBase.cpp
index b7513b64faf..a9eb9b183c7 100755
--- a/cppe/src/IceE/ExceptionBase.cpp
+++ b/cppe/src/IceE/ExceptionBase.cpp
@@ -12,39 +12,39 @@
using namespace std;
-namespace Ice
+namespace IceUtil
{
bool ICEE_API nullHandleAbort = false;
};
-Ice::Exception::Exception() :
+IceUtil::Exception::Exception() :
_file(0),
_line(0)
{
}
-Ice::Exception::Exception(const char* file, int line) :
+IceUtil::Exception::Exception(const char* file, int line) :
_file(file),
_line(line)
{
}
-Ice::Exception::~Exception()
+IceUtil::Exception::~Exception()
{
}
-const char* Ice::Exception::_name = "Ice::Exception";
+const char* IceUtil::Exception::_name = "IceUtil::Exception";
const string
-Ice::Exception::ice_name() const
+IceUtil::Exception::ice_name() const
{
return _name;
}
string
-Ice::Exception::toString() const
+IceUtil::Exception::toString() const
{
string out;
if(_file && _line > 0)
@@ -55,31 +55,31 @@ Ice::Exception::toString() const
return out;
}
-Ice::Exception*
-Ice::Exception::ice_clone() const
+IceUtil::Exception*
+IceUtil::Exception::ice_clone() const
{
return new Exception(*this);
}
void
-Ice::Exception::ice_throw() const
+IceUtil::Exception::ice_throw() const
{
throw *this;
}
const char*
-Ice::Exception::ice_file() const
+IceUtil::Exception::ice_file() const
{
return _file;
}
int
-Ice::Exception::ice_line() const
+IceUtil::Exception::ice_line() const
{
return _line;
}
-Ice::NullHandleException::NullHandleException(const char* file, int line) :
+IceUtil::NullHandleException::NullHandleException(const char* file, int line) :
Exception(file, line)
{
if(nullHandleAbort)
@@ -95,22 +95,22 @@ Ice::NullHandleException::NullHandleException(const char* file, int line) :
}
}
-const char* Ice::NullHandleException::_name = "Ice::NullHandleException";
+const char* IceUtil::NullHandleException::_name = "IceUtil::NullHandleException";
const string
-Ice::NullHandleException::ice_name() const
+IceUtil::NullHandleException::ice_name() const
{
return _name;
}
-Ice::Exception*
-Ice::NullHandleException::ice_clone() const
+IceUtil::Exception*
+IceUtil::NullHandleException::ice_clone() const
{
return new NullHandleException(*this);
}
void
-Ice::NullHandleException::ice_throw() const
+IceUtil::NullHandleException::ice_throw() const
{
throw *this;
}