summaryrefslogtreecommitdiff
path: root/cpp/src/FreezeScript/Exception.cpp
diff options
context:
space:
mode:
authorMark Spruiell <mes@zeroc.com>2004-03-01 22:23:05 +0000
committerMark Spruiell <mes@zeroc.com>2004-03-01 22:23:05 +0000
commit8882f20244d7d87b217948d9a7a83e68d364be80 (patch)
tree780cc32264be1bf61d8f4f2f3edf74144eeda750 /cpp/src/FreezeScript/Exception.cpp
parentanother minor fix (diff)
downloadice-8882f20244d7d87b217948d9a7a83e68d364be80.tar.bz2
ice-8882f20244d7d87b217948d9a7a83e68d364be80.tar.xz
ice-8882f20244d7d87b217948d9a7a83e68d364be80.zip
renaming Exception to FailureException
Diffstat (limited to 'cpp/src/FreezeScript/Exception.cpp')
-rw-r--r--cpp/src/FreezeScript/Exception.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/cpp/src/FreezeScript/Exception.cpp b/cpp/src/FreezeScript/Exception.cpp
index c56428adfc8..bc4df45df3b 100644
--- a/cpp/src/FreezeScript/Exception.cpp
+++ b/cpp/src/FreezeScript/Exception.cpp
@@ -17,23 +17,23 @@
using namespace std;
//
-// Exception
+// FailureException
//
-FreezeScript::Exception::Exception(const char* file, int line, const string& reason) :
+FreezeScript::FailureException::FailureException(const char* file, int line, const string& reason) :
IceUtil::Exception(file, line), _reason(reason)
{
}
-string FreezeScript::Exception::_name = "FreezeScript::Exception";
+string FreezeScript::FailureException::_name = "FreezeScript::FailureException";
const string&
-FreezeScript::Exception::ice_name() const
+FreezeScript::FailureException::ice_name() const
{
return _name;
}
void
-FreezeScript::Exception::ice_print(ostream& out) const
+FreezeScript::FailureException::ice_print(ostream& out) const
{
#if defined(_MSC_VER) && (_MSC_VER < 1300) // VC++ 6 compiler bug
Exception::ice_print(out);
@@ -48,19 +48,19 @@ FreezeScript::Exception::ice_print(ostream& out) const
}
IceUtil::Exception*
-FreezeScript::Exception::ice_clone() const
+FreezeScript::FailureException::ice_clone() const
{
- return new Exception(ice_file(), ice_line(), _reason);
+ return new FailureException(ice_file(), ice_line(), _reason);
}
void
-FreezeScript::Exception::ice_throw() const
+FreezeScript::FailureException::ice_throw() const
{
throw *this;
}
string
-FreezeScript::Exception::reason() const
+FreezeScript::FailureException::reason() const
{
return _reason;
}