5 #ifndef ICE_USER_EXCEPTION_FACTORY_H
6 #define ICE_USER_EXCEPTION_FACTORY_H
12 #ifdef ICE_CPP11_MAPPING
28 defaultUserExceptionFactory(
const std::string&)
30 defaultUserExceptionFactory(
const std::string& typeId)
33 assert(typeId == E::ice_staticId());
51 virtual void createAndThrow(const ::std::string&) = 0;
54 typedef ::IceUtil::Handle<UserExceptionFactory> UserExceptionFactoryPtr;
66 DefaultUserExceptionFactory(const ::std::string& typeId) :
72 virtual void createAndThrow(const ::std::string&)
74 virtual void createAndThrow(const ::std::string& typeId)
77 assert(typeId == _typeId);
82 const ::std::string _typeId;