diff options
Diffstat (limited to 'cpp/src/qpid/broker/SemanticHandler.cpp')
-rw-r--r-- | cpp/src/qpid/broker/SemanticHandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cpp/src/qpid/broker/SemanticHandler.cpp b/cpp/src/qpid/broker/SemanticHandler.cpp index 8535dc6a60..e1a8ae470d 100644 --- a/cpp/src/qpid/broker/SemanticHandler.cpp +++ b/cpp/src/qpid/broker/SemanticHandler.cpp @@ -125,7 +125,7 @@ void SemanticHandler::handleCommand(framing::AMQMethodBody* method) incoming.complete(id); if (!invoker.wasHandled()) { - throw ConnectionException(540, "Not implemented"); + throw NotImplementedException("Not implemented"); } else if (invoker.hasResult()) { session.getProxy().getExecution().result(id.getValue(), invoker.getResult()); } @@ -139,7 +139,7 @@ void SemanticHandler::handleCommand(framing::AMQMethodBody* method) void SemanticHandler::handleL3(framing::AMQMethodBody* method) { if (!invoke(*this, *method)) - throw ConnectionException(540, "Not implemented"); + throw NotImplementedException("Not implemented"); } void SemanticHandler::handleContent(AMQFrame& frame) |