You are viewing a plain text version of this content. The canonical link for it is here.
Posted to proton@qpid.apache.org by "Keith Wall (JIRA)" <ji...@apache.org> on 2014/08/05 15:26:12 UTC

[jira] [Updated] (PROTON-265) Change Message#decode to signal inability to decode entire buffer via exception rather than return value

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

Keith Wall updated PROTON-265:
------------------------------

    Assignee:     (was: Keith Wall)

> 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
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)