qpid-proton mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rafael H. Schloming (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (PROTON-265) Change Message#decode to signal inability to decode entire buffer via exception rather than return value
Date Tue, 03 Sep 2013 15:02:55 GMT

     [ https://issues.apache.org/jira/browse/PROTON-265?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Rafael H. Schloming updated PROTON-265:
---------------------------------------

    Fix Version/s:     (was: 0.5)
    
> Change Message#decode to signal inability to decode entire buffer via exception rather
than return value
> --------------------------------------------------------------------------------------------------------
>
>                 Key: PROTON-265
>                 URL: https://issues.apache.org/jira/browse/PROTON-265
>             Project: Qpid Proton
>          Issue Type: Improvement
>          Components: proton-j
>            Reporter: Keith Wall
>            Assignee: Keith Wall
>
> Change Message#decode signature to throw an exception in the case where the decoder fails
to decode all the bytes in the input buffer, rather than returning the number of bytes actually
decoded.
> This will make the Java implementation more closely follow the Proton-C.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message