[ 
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)

Reply via email to