summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/broker/QueuePolicy.cpp
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2007-10-23 12:41:16 +0000
committerAndrew Stitcher <astitcher@apache.org>2007-10-23 12:41:16 +0000
commit037c28c0c658b44529783b79a6b895e3b89dc699 (patch)
tree38667354023added92eff214d939158635f66ef0 /cpp/src/qpid/broker/QueuePolicy.cpp
parent9e171cd92aeb446b080231ae100d75f4d2b0dfe4 (diff)
downloadqpid-python-037c28c0c658b44529783b79a6b895e3b89dc699.tar.gz
More tidying up of field table API
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@587480 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/broker/QueuePolicy.cpp')
-rw-r--r--cpp/src/qpid/broker/QueuePolicy.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/cpp/src/qpid/broker/QueuePolicy.cpp b/cpp/src/qpid/broker/QueuePolicy.cpp
index 620822cddc..9b9717def0 100644
--- a/cpp/src/qpid/broker/QueuePolicy.cpp
+++ b/cpp/src/qpid/broker/QueuePolicy.cpp
@@ -19,6 +19,7 @@
*
*/
#include "QueuePolicy.h"
+#include "qpid/framing/FieldValue.h"
using namespace qpid::broker;
using namespace qpid::framing;
@@ -60,7 +61,7 @@ int QueuePolicy::getInt(const FieldTable& settings, const std::string& key, int
// restricts the values that can be set on the queue policy.
try {
return settings.getInt(key);
- } catch (FieldNotFoundException& ignore) {
+ } catch (FieldValueException& ignore) {
return defaultValue;
}
}