summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/client/ExecutionHandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src/qpid/client/ExecutionHandler.cpp')
-rw-r--r--cpp/src/qpid/client/ExecutionHandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/client/ExecutionHandler.cpp b/cpp/src/qpid/client/ExecutionHandler.cpp
index e4edece414..c70b0fc455 100644
--- a/cpp/src/qpid/client/ExecutionHandler.cpp
+++ b/cpp/src/qpid/client/ExecutionHandler.cpp
@@ -73,7 +73,7 @@ void ExecutionHandler::handle(AMQFrame& frame)
void ExecutionHandler::complete(uint32_t cumulative, const SequenceNumberSet& range)
{
if (range.size() % 2) { //must be even number
- throw ConnectionException(530, "Received odd number of elements in ranged mark");
+ throw NotAllowedException(QPID_MSG("Received odd number of elements in ranged mark"));
} else {
SequenceNumber mark(cumulative);
{