diff options
author | Gordon Sim <gsim@apache.org> | 2011-02-25 17:10:05 +0000 |
---|---|---|
committer | Gordon Sim <gsim@apache.org> | 2011-02-25 17:10:05 +0000 |
commit | 3df4ce2e8ef6f2360e31344661f788808c14cc37 (patch) | |
tree | 384b1c3d10176bad196a32c90b1788b41dbc037f /cpp/src | |
parent | b89260805d612679ae6ef03d491873d671d53749 (diff) | |
download | qpid-python-3df4ce2e8ef6f2360e31344661f788808c14cc37.tar.gz |
QPID-2326: correct exception code for unknown exchange type
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@1074634 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src')
-rw-r--r-- | cpp/src/qpid/broker/SessionAdapter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/SessionAdapter.cpp b/cpp/src/qpid/broker/SessionAdapter.cpp index 9e4516679e..b95bb196fd 100644 --- a/cpp/src/qpid/broker/SessionAdapter.cpp +++ b/cpp/src/qpid/broker/SessionAdapter.cpp @@ -114,7 +114,7 @@ void SessionAdapter::ExchangeHandlerImpl::declare(const string& exchange, const "existing")); } }catch(UnknownExchangeTypeException& /*e*/){ - throw CommandInvalidException(QPID_MSG("Exchange type not implemented: " << type)); + throw NotFoundException(QPID_MSG("Exchange type not implemented: " << type)); } } } |