This is an automated email from the ASF dual-hosted git repository. tabish pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/qpid-protonj2.git
The following commit(s) were added to refs/heads/main by this push: new b33e4e5 PROTON-2462 Fix error message for stream receiver AmqpValue body types b33e4e5 is described below commit b33e4e592cb4dc36f889e5de269676928be3ef69 Author: Timothy Bish <tabish...@gmail.com> AuthorDate: Mon Nov 8 13:43:48 2021 -0500 PROTON-2462 Fix error message for stream receiver AmqpValue body types --- .../apache/qpid/protonj2/client/impl/ClientStreamReceiverMessage.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientStreamReceiverMessage.java b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientStreamReceiverMessage.java index 7932500..269a00a 100644 --- a/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientStreamReceiverMessage.java +++ b/protonj2-client/src/main/java/org/apache/qpid/protonj2/client/impl/ClientStreamReceiverMessage.java @@ -903,7 +903,7 @@ public final class ClientStreamReceiverMessage implements StreamReceiverMessage @Override protected void validateAndScanNextSection() throws ClientException { - throw new DecodeException("Cannot read the payload of an AMQP Sequence payload."); + throw new DecodeException("Cannot read the binary payload of an AMQP Sequence body."); } } @@ -922,7 +922,7 @@ public final class ClientStreamReceiverMessage implements StreamReceiverMessage @Override protected void validateAndScanNextSection() throws ClientException { - throw new DecodeException("Cannot read the payload of an AMQP Sequence payload."); + throw new DecodeException("Cannot read the binary payload of an AMQP Value body."); } } } --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org