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.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cpp/include/Ice/UserExceptionFactory.h b/cpp/include/Ice/UserExceptionFactory.h
index 8f8baa4f480..877a86f75df 100644
--- a/cpp/include/Ice/UserExceptionFactory.h
+++ b/cpp/include/Ice/UserExceptionFactory.h
@@ -19,6 +19,7 @@
namespace Ice
{
+/** Creates and throws a user exception. */
using UserExceptionFactory = std::function<void(const std::string&)>;
}
@@ -44,6 +45,10 @@ defaultUserExceptionFactory(const std::string& typeId)
namespace Ice
{
+/**
+ * Creates and throws a user exception.
+ * \headerfile Ice/Ice.h
+ */
class ICE_API UserExceptionFactory : public IceUtil::Shared
{
public: