summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Exception.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Exception.h')
-rw-r--r--cpp/include/Ice/Exception.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/cpp/include/Ice/Exception.h b/cpp/include/Ice/Exception.h
index f0a57f27e4b..9ed187dae90 100644
--- a/cpp/include/Ice/Exception.h
+++ b/cpp/include/Ice/Exception.h
@@ -43,7 +43,7 @@ public:
LocalException(const char*, int);
virtual ~LocalException() throw();
virtual std::string ice_name() const = 0;
- virtual Exception* ice_clone() const = 0;
+ virtual LocalException* ice_clone() const = 0;
virtual void ice_throw() const = 0;
};
@@ -52,7 +52,7 @@ class ICE_API UserException : public IceUtil::Exception
public:
virtual std::string ice_name() const = 0;
- virtual Exception* ice_clone() const = 0;
+ virtual UserException* ice_clone() const = 0;
virtual void ice_throw() const = 0;
virtual void __write(::IceInternal::BasicStream*) const = 0;
@@ -71,7 +71,7 @@ public:
SystemException(const char*, int);
virtual ~SystemException() throw();
virtual std::string ice_name() const = 0;
- virtual Exception* ice_clone() const = 0;
+ virtual SystemException* ice_clone() const = 0;
virtual void ice_throw() const = 0;
};