summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/UserExceptionFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/UserExceptionFactory.h')
-rw-r--r--cpp/include/Ice/UserExceptionFactory.h10
1 files changed, 7 insertions, 3 deletions
diff --git a/cpp/include/Ice/UserExceptionFactory.h b/cpp/include/Ice/UserExceptionFactory.h
index 4a1085fd15d..23c8aba5999 100644
--- a/cpp/include/Ice/UserExceptionFactory.h
+++ b/cpp/include/Ice/UserExceptionFactory.h
@@ -14,7 +14,7 @@
#include <IceUtil/Handle.h>
#include <Ice/Config.h>
-namespace IceInternal
+namespace Ice
{
class ICE_API UserExceptionFactory : public IceUtil::Shared
@@ -24,11 +24,15 @@ public:
virtual void createAndThrow(const ::std::string&) = 0;
virtual ~UserExceptionFactory() {}
};
-
typedef ::IceUtil::Handle<UserExceptionFactory> UserExceptionFactoryPtr;
+}
+
+namespace IceInternal
+{
+
template<class E>
-class DefaultUserExceptionFactory : public UserExceptionFactory
+class DefaultUserExceptionFactory : public Ice::UserExceptionFactory
{
public: