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 2013/03/05 19:22:13 UTC

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

Keith Wall created PROTON-265:
---------------------------------

             Summary: 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
             Fix For: 0.5


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