summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
authorGordon Sim <gsim@apache.org>2008-05-28 13:55:06 +0000
committerGordon Sim <gsim@apache.org>2008-05-28 13:55:06 +0000
commit94d64897d2fd071d89ef668ca953a1d6e15d781a (patch)
tree19f05574866009c05a81956b023d5a1549bfd6a0 /cpp/src
parentc3649a7d5f9ac3ddb10406e66baa76a7c3f1cad5 (diff)
downloadqpid-python-94d64897d2fd071d89ef668ca953a1d6e15d781a.tar.gz
QPID-1095: another error code correction
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@660952 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/qpid/broker/SemanticState.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SemanticState.cpp b/cpp/src/qpid/broker/SemanticState.cpp
index 151d372ebb..3c4f6abc30 100644
--- a/cpp/src/qpid/broker/SemanticState.cpp
+++ b/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(