https://issues.apache.org/jira/browse/AMQCPP-467 Pulls out wrapped CMSException types and throws a valid copy.