diff options
Diffstat (limited to 'qpid/cpp/src/qpid/framing/FieldValue.cpp')
-rw-r--r-- | qpid/cpp/src/qpid/framing/FieldValue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/qpid/framing/FieldValue.cpp b/qpid/cpp/src/qpid/framing/FieldValue.cpp index 8171a94ef2..681f20a793 100644 --- a/qpid/cpp/src/qpid/framing/FieldValue.cpp +++ b/qpid/cpp/src/qpid/framing/FieldValue.cpp @@ -79,7 +79,7 @@ void FieldValue::setType(uint8_t type) data.reset(new FixedWidthValue<0>()); break; default: - throw SyntaxErrorException(QPID_MSG("Unknown field table value type: " << (int)typeOctet)); + throw IllegalArgumentException(QPID_MSG("Unknown field table value type: " << (int)typeOctet)); } } |