You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/11/18 23:14:33 UTC
[jira] [Commented] (PROTON-747) Use around wrapper on Messenger
methods to raise errors
[ https://issues.apache.org/jira/browse/PROTON-747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14216910#comment-14216910 ]
ASF subversion and git services commented on PROTON-747:
--------------------------------------------------------
Commit 66150aa7a845c2210ab7c1b0c0e011988a60de2e in qpid-proton's branch refs/heads/master from [~mcpierce]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-proton.git;h=66150aa ]
PROTON-747: Around wrappers for Ruby Messenger methods that raise errors
Each method that could potentially raise an exception in
Qpid::Proton::Message is now wrapped by a method which checks for, and
then raises, the appropriate runtime error based on the error code.
> Use around wrapper on Messenger methods to raise errors
> -------------------------------------------------------
>
> Key: PROTON-747
> URL: https://issues.apache.org/jira/browse/PROTON-747
> Project: Qpid Proton
> Issue Type: Improvement
> Components: ruby-binding
> Reporter: Darryl L. Pierce
> Assignee: Darryl L. Pierce
> Attachments: 0001-PROTON-747-Around-wrappers-for-Ruby-Messenger-method.patch
>
>
> To keep error handling code consistent and to avoid duplicating code, use Ruby programming techniques to check for and then raise the appropriate exception in Messenger.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)