diff options
| author | Gordon Sim <gsim@apache.org> | 2014-01-09 11:20:51 +0000 |
|---|---|---|
| committer | Gordon Sim <gsim@apache.org> | 2014-01-09 11:20:51 +0000 |
| commit | a2f8b4b0294c77adb0a63572c16218c1d98b0dac (patch) | |
| tree | 7ec5ecbcccab2ca7588a1d97b552397d20bc10ef /cpp/src/qpid/amqp/Decoder.cpp | |
| parent | d034ca66e36546025c7614be75b3ba4e7a9b24dc (diff) | |
| download | qpid-python-a2f8b4b0294c77adb0a63572c16218c1d98b0dac.tar.gz | |
QPID-5457: support for messages composed of multiple transfers
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1556787 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/amqp/Decoder.cpp')
| -rw-r--r-- | cpp/src/qpid/amqp/Decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/amqp/Decoder.cpp b/cpp/src/qpid/amqp/Decoder.cpp index 1058f83e38..de2c5ce64d 100644 --- a/cpp/src/qpid/amqp/Decoder.cpp +++ b/cpp/src/qpid/amqp/Decoder.cpp @@ -301,7 +301,7 @@ Descriptor Decoder::readDescriptor() void Decoder::advance(size_t n) { - if (n > available()) throw qpid::Exception(QPID_MSG("Out of Bounds")); + if (n > available()) throw qpid::Exception(QPID_MSG("Out of Bounds: requested advance of " << n << " at " << position << " but only " << available() << " available")); position += n; } |
