summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/amqp/Decoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/amqp/Decoder.cpp')
-rw-r--r--cpp/src/qpid/amqp/Decoder.cpp2
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;
}