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 <[email protected]> Authored: Fri May 13 12:37:30 2016 +0100 Committer: Andrew Stitcher <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
