diff options
Diffstat (limited to 'cpp/test/Ice/retry/SystemFailure.h')
-rw-r--r-- | cpp/test/Ice/retry/SystemFailure.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/cpp/test/Ice/retry/SystemFailure.h b/cpp/test/Ice/retry/SystemFailure.h index 64f1b260e59..2858e0c5aac 100644 --- a/cpp/test/Ice/retry/SystemFailure.h +++ b/cpp/test/Ice/retry/SystemFailure.h @@ -23,21 +23,29 @@ public: SystemFailure(const SystemFailure& ex) : Ice::SystemException(ex.ice_file(), ex.ice_line()) { } - - virtual std::string ice_name() const + + virtual std::string ice_id() const { return "SystemFailure"; } +#ifdef ICE_CPP11_MAPPING + virtual IceUtil::Exception* ice_cloneImpl() const + { + return new SystemFailure(*this); + } +#else virtual SystemException* ice_clone() const { return new SystemFailure(*this); } +#endif virtual void ice_throw() const { throw SystemFailure(*this); } + }; #endif |