summaryrefslogtreecommitdiff
path: root/cpp/include/IceUtil/Handle.h
diff options
context:
space:
mode:
authorMarc Laukien <marc@zeroc.com>2001-10-10 21:56:32 +0000
committerMarc Laukien <marc@zeroc.com>2001-10-10 21:56:32 +0000
commit8bc95821a3163f119f5e44ff7d6510cde734ea4b (patch)
tree3e6b89c017bce15ec8c81db9931ec46aecb897c8 /cpp/include/IceUtil/Handle.h
parentmore fixes (diff)
downloadice-8bc95821a3163f119f5e44ff7d6510cde734ea4b.tar.bz2
ice-8bc95821a3163f119f5e44ff7d6510cde734ea4b.tar.xz
ice-8bc95821a3163f119f5e44ff7d6510cde734ea4b.zip
more exception stuff
Diffstat (limited to 'cpp/include/IceUtil/Handle.h')
-rw-r--r--cpp/include/IceUtil/Handle.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/cpp/include/IceUtil/Handle.h b/cpp/include/IceUtil/Handle.h
index 27f35ef1f8f..799eb673d36 100644
--- a/cpp/include/IceUtil/Handle.h
+++ b/cpp/include/IceUtil/Handle.h
@@ -41,17 +41,22 @@ public:
return *this;
}
- virtual std::string toString() const
+ virtual std::string _name() const
{
- return debugInfo() + "operation call on null handle";
+ return "IceUtil::NullHandleException";
}
- virtual NullHandleException* clone() const
+ virtual std::string _description() const
+ {
+ return "operation call on null handle";
+ }
+
+ virtual NullHandleException* _clone() const
{
return new NullHandleException(*this);
}
- virtual void raise() const
+ virtual void _throw() const
{
throw *this;
}