From 744d39a42e3c19bd247276388b08744bb6e73089 Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Wed, 28 May 2008 13:55:06 +0000 Subject: QPID-1095: another error code correction git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk@660952 13f79535-47bb-0310-9956-ffa450edef68 --- qpid/cpp/src/qpid/broker/SemanticState.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'qpid/cpp') diff --git a/qpid/cpp/src/qpid/broker/SemanticState.cpp b/qpid/cpp/src/qpid/broker/SemanticState.cpp index 151d372ebb..3c4f6abc30 100644 --- a/qpid/cpp/src/qpid/broker/SemanticState.cpp +++ b/qpid/cpp/src/qpid/broker/SemanticState.cpp @@ -161,7 +161,7 @@ void SemanticState::startDtx(const std::string& xid, DtxManager& mgr, bool join) void SemanticState::endDtx(const std::string& xid, bool fail) { if (!dtxBuffer) { - throw CommandInvalidException(QPID_MSG("xid " << xid << " not associated with this session")); + throw IllegalStateException(QPID_MSG("xid " << xid << " not associated with this session")); } if (dtxBuffer->getXid() != xid) { throw CommandInvalidException( -- cgit v1.2.1