diff options
Diffstat (limited to 'cpp/include/IceUtil/Handle.h')
-rw-r--r-- | cpp/include/IceUtil/Handle.h | 13 |
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; } |