From 1c86294add5cbb640aac7f458c4de693de48dd9f Mon Sep 17 00:00:00 2001 From: Gordon Sim Date: Thu, 24 Apr 2008 21:07:34 +0000 Subject: Generate c++ code from final 0-10 spec git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/trunk/qpid@651423 13f79535-47bb-0310-9956-ffa450edef68 --- cpp/src/qpid/framing/BodyHolder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpp/src/qpid/framing/BodyHolder.cpp') diff --git a/cpp/src/qpid/framing/BodyHolder.cpp b/cpp/src/qpid/framing/BodyHolder.cpp index de971b5b28..1b2f74de2c 100644 --- a/cpp/src/qpid/framing/BodyHolder.cpp +++ b/cpp/src/qpid/framing/BodyHolder.cpp @@ -59,7 +59,7 @@ void BodyHolder::decode(uint8_t type, Buffer& buffer, uint32_t size) { case CONTENT_BODY: *this=in_place(); break; case HEARTBEAT_BODY: *this=in_place(); break; default: - throw SyntaxErrorException(QPID_MSG("Invalid frame type " << type)); + throw IllegalArgumentException(QPID_MSG("Invalid frame type " << type)); } get()->decode(buffer, size); } -- cgit v1.2.1