diff options
Diffstat (limited to 'cpp/src/qpid/framing/FieldValue.cpp')
-rw-r--r-- | cpp/src/qpid/framing/FieldValue.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/qpid/framing/FieldValue.cpp b/cpp/src/qpid/framing/FieldValue.cpp index 8171a94ef2..681f20a793 100644 --- a/cpp/src/qpid/framing/FieldValue.cpp +++ b/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)); } } |