You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ta...@apache.org on 2013/10/03 17:15:42 UTC
git commit: https://issues.apache.org/jira/browse/AMQCPP-514
Updated Branches:
refs/heads/trunk c4c4602b4 -> 06a7435df
https://issues.apache.org/jira/browse/AMQCPP-514
Adds catch all to ActiveMQBytesMessage dtor
Project: http://git-wip-us.apache.org/repos/asf/activemq-cpp/repo
Commit: http://git-wip-us.apache.org/repos/asf/activemq-cpp/commit/06a7435d
Tree: http://git-wip-us.apache.org/repos/asf/activemq-cpp/tree/06a7435d
Diff: http://git-wip-us.apache.org/repos/asf/activemq-cpp/diff/06a7435d
Branch: refs/heads/trunk
Commit: 06a7435dffe1ca74b0fcc60fb596817526170cff
Parents: c4c4602
Author: Timothy Bish <ta...@gmai.com>
Authored: Thu Oct 3 11:14:29 2013 -0400
Committer: Timothy Bish <ta...@gmai.com>
Committed: Thu Oct 3 11:15:33 2013 -0400
----------------------------------------------------------------------
.../src/main/activemq/commands/ActiveMQBytesMessage.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/activemq-cpp/blob/06a7435d/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
----------------------------------------------------------------------
diff --git a/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp b/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
index 9843f6c..86c82a9 100644
--- a/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
+++ b/activemq-cpp/src/main/activemq/commands/ActiveMQBytesMessage.cpp
@@ -77,7 +77,10 @@ ActiveMQBytesMessage::ActiveMQBytesMessage() :
////////////////////////////////////////////////////////////////////////////////
ActiveMQBytesMessage::~ActiveMQBytesMessage() throw() {
- this->reset();
+ try {
+ this->reset();
+ }
+ AMQ_CATCHALL_NOTHROW()
}
////////////////////////////////////////////////////////////////////////////////