You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by as...@apache.org on 2016/05/13 11:38:00 UTC
qpid-proton git commit: NO-JIRA: [C++ binding] Doc improvement to
error_condition
Repository: qpid-proton
Updated Branches:
refs/heads/master 63658a41a -> 39301afde
NO-JIRA: [C++ binding] Doc improvement to error_condition
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/39301afd
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/39301afd
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/39301afd
Branch: refs/heads/master
Commit: 39301afde510e7c9f7c7f5b2ae414b8ba9bb1308
Parents: 63658a4
Author: Andrew Stitcher <as...@apache.org>
Authored: Fri May 13 12:37:30 2016 +0100
Committer: Andrew Stitcher <as...@apache.org>
Committed: Fri May 13 12:37:30 2016 +0100
----------------------------------------------------------------------
proton-c/bindings/cpp/include/proton/error_condition.hpp | 4 ++++
1 file changed, 4 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/39301afd/proton-c/bindings/cpp/include/proton/error_condition.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/error_condition.hpp b/proton-c/bindings/cpp/include/proton/error_condition.hpp
index 0153f4a..232c4fd 100644
--- a/proton-c/bindings/cpp/include/proton/error_condition.hpp
+++ b/proton-c/bindings/cpp/include/proton/error_condition.hpp
@@ -42,8 +42,12 @@ class error_condition {
public:
error_condition() {}
+ /// Construct an error condition with only a description - in this case a default
+ /// name will be used ("proton:io:error")
PN_CPP_EXTERN error_condition(std::string description);
+ /// Construct an error_condition with a name and a description
PN_CPP_EXTERN error_condition(std::string name, std::string description);
+ /// Construct an error_condition with name, description and some informational properties
PN_CPP_EXTERN error_condition(std::string name, std::string description, proton::value properties);
#if PN_CPP_HAS_DEFAULTED_FUNCTIONS
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org