diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2007-10-23 12:41:16 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2007-10-23 12:41:16 +0000 |
| commit | 037c28c0c658b44529783b79a6b895e3b89dc699 (patch) | |
| tree | 38667354023added92eff214d939158635f66ef0 /cpp/src/qpid/broker/QueuePolicy.cpp | |
| parent | 9e171cd92aeb446b080231ae100d75f4d2b0dfe4 (diff) | |
| download | qpid-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.cpp | 3 |
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; } } |
