activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1307618 [1/5] - in /activemq/activemq-cpp/trunk/activemq-cpp/src: examples/ examples/advisories/ examples/cmstemplate/ examples/consumers/ examples/topics/chat/ main/activemq/cmsutil/ main/activemq/core/ main/activemq/core/kernels/ main/ac...
Date Fri, 30 Mar 2012 21:17:23 GMT
Author: tabish
Date: Fri Mar 30 21:17:16 2012
New Revision: 1307618

URL: http://svn.apache.org/viewvc?rev=1307618&view=rev
Log:
Remove many of the throw() clauses as they are depricated

Modified:
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/cmstemplate/CMSTemplateSender.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/consumers/SimpleAsyncConsumer.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedConsumer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedProducer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/BrokerException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/MessagePropertyInterceptor.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/MessagePropertyInterceptor.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/BytesMessage.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSProperties.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSProperties.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Connection.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionFactory.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionFactory.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionMetaData.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ConnectionMetaData.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Destination.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Destination.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ExceptionListener.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MapMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MapMessage.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageConsumer.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageConsumer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEnumeration.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEnumeration.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageListener.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ObjectMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/ObjectMessage.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Queue.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Queue.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/QueueBrowser.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/QueueBrowser.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Session.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/StreamMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/StreamMessage.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryQueue.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TemporaryTopic.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TextMessage.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TextMessage.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Topic.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Topic.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TransactionInProgressException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TransactionInProgressException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TransactionRolledBackException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/TransactionRolledBackException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/XAConnectionFactory.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/XAException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/XAException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/XAResource.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/Xid.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocketException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/net/ssl/openssl/OpenSSLSocketException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/internal/util/ByteArrayAdapter.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/EOFException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/IOException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/InterruptedIOException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UTFDataFormatException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/io/UnsupportedEncodingException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/ArrayPointer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Exception.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Exception.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Pointer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Thread.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/Throwable.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketTimeoutException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/URISyntaxException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/UnknownHostException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/UnknownServiceException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/BufferOverflowException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/BufferUnderflowException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/InvalidMarkException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/nio/ReadOnlyBufferException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/ConcurrentModificationException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/ConcurrentModificationException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/NoSuchElementException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/NoSuchElementException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/BrokenBarrierException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/CancellationException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ConcurrentStlMap.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/ExecutionException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/RejectedExecutionException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/TimeUnit.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/TimeoutException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/Condition.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/LockSupport.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/concurrent/locks/LockSupport.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DataFormatException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/DataFormatException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/ZipException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/util/zip/ZipException.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/CmsTemplateTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/ExpirationTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/SlowListenerTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/openwire/OpenwireClientAckTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/openwire/OpenwireJmsRecoverTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/test/openwire/OpenwireTempDestinationTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/util/CMSListener.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/util/CMSListener.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/util/CMSProvider.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test-integration/activemq/util/CMSProvider.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/CmsAccessorTest.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/CmsDestinationAccessorTest.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/CmsTemplateTest.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/DummyConnection.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/DummyConnectionFactory.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/DummyConsumer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/DummyMessage.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/DummyMessageCreator.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/DummyProducer.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/cmsutil/DummySession.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/core/ActiveMQSessionTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/IOTransportTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/transport/correlator/ResponseCorrelatorTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/activemq/wireformat/openwire/marshal/BaseDataStreamMarshallerTest.h
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/internal/nio/CharArrayBufferTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/io/BufferedInputStreamTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/io/FilterInputStreamTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/io/InputStreamTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/io/OutputStreamTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/io/ReaderTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/io/WriterTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/lang/ThreadTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/concurrent/MutexTest.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/test/decaf/util/zip/DeflaterOutputStreamTest.cpp

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.cpp Fri Mar 30 21:17:16 2012
@@ -36,65 +36,57 @@ using namespace decaf::lang;
 using namespace decaf::lang::exceptions;
 
 ////////////////////////////////////////////////////////////////////////////////
-AdvisoryConsumer::AdvisoryConsumer( cms::Session* session ) : session(session),
-                                                              consumer(),
-                                                              advisoryConsumer() {
-
-    if( session == NULL ) {
-        throw NullPointerException(
-            __FILE__, __LINE__, "Session Object passed was Null." );
+AdvisoryConsumer::AdvisoryConsumer(cms::Session* session) : session(session), consumer(), advisoryConsumer() {
+
+    if (session == NULL) {
+        throw NullPointerException(__FILE__, __LINE__, "Session Object passed was Null.");
     }
 
-    std::auto_ptr<cms::Topic> destination( session->createTopic(
-        "HEART-BEAT-CHANNEL" ) );
-    std::auto_ptr<cms::Topic> advisories( session->createTopic(
-        "ActiveMQ.Advisory.Producer.Topic.HEART-BEAT-CHANNEL" ) );
-
-    this->consumer.reset( session->createConsumer( destination.get() ) );
-    this->advisoryConsumer.reset( session->createConsumer( advisories.get() ) );
-    this->consumer->setMessageListener( this );
-    this->advisoryConsumer->setMessageListener( this );
+    std::auto_ptr<cms::Topic> destination(session->createTopic("HEART-BEAT-CHANNEL"));
+    std::auto_ptr<cms::Topic> advisories(
+        session->createTopic("ActiveMQ.Advisory.Producer.Topic.HEART-BEAT-CHANNEL"));
+
+    this->consumer.reset(session->createConsumer(destination.get()));
+    this->advisoryConsumer.reset(session->createConsumer(advisories.get()));
+    this->consumer->setMessageListener(this);
+    this->advisoryConsumer->setMessageListener(this);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-AdvisoryConsumer::~AdvisoryConsumer() throw() {
+AdvisoryConsumer::~AdvisoryConsumer() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void AdvisoryConsumer::close() throw( cms::CMSException ) {
-    this->consumer.reset( NULL );
+void AdvisoryConsumer::close() {
+    this->consumer.reset(NULL);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void AdvisoryConsumer::onMessage( const cms::Message* message ) throw() {
+void AdvisoryConsumer::onMessage(const cms::Message* message) {
 
-    if( message->getCMSType() == "Advisory" ) {
+    if (message->getCMSType() == "Advisory") {
 
-        const ActiveMQMessage* amqMessage =
-            dynamic_cast<const ActiveMQMessage*>( message );
+        const ActiveMQMessage* amqMessage = dynamic_cast<const ActiveMQMessage*> (message);
 
         // If you want you can get the ProducerInfo for instance, you could get
         // the ConsumerInfo and ConnectionInfo.
-        if( amqMessage != NULL && amqMessage->getDataStructure() != NULL ) {
-            const ProducerInfo* info = dynamic_cast<const ProducerInfo*>(
-                amqMessage->getDataStructure().get() );
+        if (amqMessage != NULL && amqMessage->getDataStructure() != NULL) {
+            const ProducerInfo* info = dynamic_cast<const ProducerInfo*> (amqMessage->getDataStructure().get());
 
             std::cout << "Got ProducerInfo for producer: " << info->getProducerId()->toString() << std::endl;
         }
 
-        if( message->propertyExists( "producerCount" ) ) {
-            std::string producerCount = message->getStringProperty( "producerCount" );
+        if (message->propertyExists("producerCount")) {
+            std::string producerCount = message->getStringProperty("producerCount");
             std::cout << "Number of Producers = " << producerCount << std::endl;
         }
 
     } else {
 
-        const cms::TextMessage* txtMessage =
-            dynamic_cast<const cms::TextMessage*>( message );
+        const cms::TextMessage* txtMessage = dynamic_cast<const cms::TextMessage*> (message);
 
-        if( txtMessage != NULL ) {
-            std::cout << "Producer Reports Status as: "
-                      << txtMessage->getText() << std::endl;
+        if (txtMessage != NULL) {
+            std::cout << "Producer Reports Status as: " << txtMessage->getText() << std::endl;
         }
     }
 }

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryConsumer.h Fri Mar 30 21:17:16 2012
@@ -49,23 +49,23 @@ namespace advisories {
 
      private:
 
-         AdvisoryConsumer( const AdvisoryConsumer& );
-         AdvisoryConsumer& operator= ( const AdvisoryConsumer& );
+         AdvisoryConsumer(const AdvisoryConsumer&);
+        AdvisoryConsumer& operator=(const AdvisoryConsumer&);
 
     public:
 
-        AdvisoryConsumer( cms::Session* session );
-        virtual ~AdvisoryConsumer() throw();
+        AdvisoryConsumer(cms::Session* session);
+        virtual ~AdvisoryConsumer();
 
         /**
          * Close down Consumer resources.
          */
-        virtual void close() throw( cms::CMSException );
+        virtual void close();
 
         /**
          * Async Message callback.
          */
-        virtual void onMessage( const cms::Message* message ) throw();
+        virtual void onMessage(const cms::Message* message);
 
     };
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.cpp Fri Mar 30 21:17:16 2012
@@ -55,7 +55,7 @@ AdvisoryProducer::AdvisoryProducer( cms:
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-AdvisoryProducer::~AdvisoryProducer() throw() {
+AdvisoryProducer::~AdvisoryProducer() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -84,7 +84,7 @@ void AdvisoryProducer::run() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void AdvisoryProducer::onMessage( const cms::Message* message ) throw() {
+void AdvisoryProducer::onMessage( const cms::Message* message ) {
 
     if( message->getCMSType() == "Advisory" ) {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/AdvisoryProducer.h Fri Mar 30 21:17:16 2012
@@ -61,7 +61,7 @@ namespace advisories {
     public:
 
         AdvisoryProducer( cms::Session* session );
-        virtual ~AdvisoryProducer() throw();
+        virtual ~AdvisoryProducer();
 
         /**
          * Shut down the processing that occurs in the Run method.
@@ -76,7 +76,7 @@ namespace advisories {
         /**
          * Async Message callback.
          */
-        virtual void onMessage( const cms::Message* message ) throw();
+        virtual void onMessage( const cms::Message* message );
 
     };
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.cpp Fri Mar 30 21:17:16 2012
@@ -55,11 +55,11 @@ TempDestinationAdvisoryConsumer::TempDes
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-TempDestinationAdvisoryConsumer::~TempDestinationAdvisoryConsumer() throw() {
+TempDestinationAdvisoryConsumer::~TempDestinationAdvisoryConsumer() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void TempDestinationAdvisoryConsumer::onMessage( const cms::Message* message ) throw() {
+void TempDestinationAdvisoryConsumer::onMessage( const cms::Message* message ) {
 
     if( message->getCMSType() == "Advisory" ) {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/advisories/TempDestinationAdvisoryConsumer.h Fri Mar 30 21:17:16 2012
@@ -45,18 +45,18 @@ namespace advisories {
 
     private:
 
-        TempDestinationAdvisoryConsumer( const TempDestinationAdvisoryConsumer& );
-        TempDestinationAdvisoryConsumer& operator= ( const TempDestinationAdvisoryConsumer& );
+        TempDestinationAdvisoryConsumer(const TempDestinationAdvisoryConsumer&);
+        TempDestinationAdvisoryConsumer& operator=(const TempDestinationAdvisoryConsumer&);
 
     public:
 
-        TempDestinationAdvisoryConsumer( cms::Session* session );
-        virtual ~TempDestinationAdvisoryConsumer() throw();
+        TempDestinationAdvisoryConsumer(cms::Session* session);
+        virtual ~TempDestinationAdvisoryConsumer();
 
         /**
          * Async Message callback.
          */
-        virtual void onMessage( const cms::Message* message ) throw();
+        virtual void onMessage(const cms::Message* message);
 
     };
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/cmstemplate/CMSTemplateSender.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/cmstemplate/CMSTemplateSender.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/cmstemplate/CMSTemplateSender.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/cmstemplate/CMSTemplateSender.cpp Fri Mar 30 21:17:16 2012
@@ -55,7 +55,7 @@ namespace{
 
         TextMessageCreator() : MessageCreator() {}
 
-        virtual ~TextMessageCreator() throw() {}
+        virtual ~TextMessageCreator() {}
 
         virtual cms::Message* createMessage( cms::Session* session ) {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/consumers/SimpleAsyncConsumer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/consumers/SimpleAsyncConsumer.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/consumers/SimpleAsyncConsumer.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/consumers/SimpleAsyncConsumer.cpp Fri Mar 30 21:17:16 2012
@@ -81,7 +81,7 @@ public:
         clientAck(clientAck) {
     }
 
-    virtual ~SimpleAsyncConsumer() throw() {
+    virtual ~SimpleAsyncConsumer() {
         this->cleanup();
     }
 
@@ -134,7 +134,7 @@ public:
     }
 
     // Called from the consumer since this class is a registered MessageListener.
-    virtual void onMessage( const Message* message ) throw() {
+    virtual void onMessage( const Message* message ) {
 
         static int count = 0;
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/main.cpp Fri Mar 30 21:17:16 2012
@@ -197,7 +197,7 @@ public:
         brokerURI(brokerURI) {
     }
 
-    virtual ~HelloWorldConsumer() throw() {
+    virtual ~HelloWorldConsumer() {
         cleanup();
     }
 
@@ -260,7 +260,7 @@ public:
     }
 
     // Called from the consumer since this class is a registered MessageListener.
-    virtual void onMessage( const Message* message ) throw() {
+    virtual void onMessage( const Message* message ) {
 
         static int count = 0;
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.cpp Fri Mar 30 21:17:16 2012
@@ -48,7 +48,7 @@ Chat::Chat() : connection(), session(), 
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-Chat::~Chat() throw() {
+Chat::~Chat() {
 
     try {
 
@@ -175,7 +175,7 @@ void Chat::run() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void Chat::onMessage( const cms::Message* message ) throw() {
+void Chat::onMessage( const cms::Message* message ) {
 
     // Cast the message as a TextMessage if possible.
     try {

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/examples/topics/chat/Chat.h Fri Mar 30 21:17:16 2012
@@ -62,9 +62,9 @@ namespace chat{
     public:
 
         Chat();
-        virtual ~Chat() throw();
+        virtual ~Chat();
 
-        virtual void onMessage( const cms::Message* message ) throw();
+        virtual void onMessage( const cms::Message* message );
         virtual void onException( const cms::CMSException& ex );
 
         /**

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedConsumer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedConsumer.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedConsumer.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedConsumer.h Fri Mar 30 21:17:16 2012
@@ -42,7 +42,7 @@ namespace cmsutil {
         CachedConsumer( cms::MessageConsumer* consumer ) : consumer( consumer ) {
         }
 
-        virtual ~CachedConsumer() throw() {}
+        virtual ~CachedConsumer() {}
 
         /**
          * Does nothing - the real producer resource will be closed

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedProducer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedProducer.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedProducer.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CachedProducer.h Fri Mar 30 21:17:16 2012
@@ -42,7 +42,7 @@ namespace cmsutil {
         CachedProducer( cms::MessageProducer* producer ) : producer( producer ) {
         }
 
-        virtual ~CachedProducer() throw() {}
+        virtual ~CachedProducer() {}
 
         /**
          * Does nothing - the real producer resource will be closed

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.cpp Fri Mar 30 21:17:16 2012
@@ -113,7 +113,7 @@ CmsTemplate::CmsTemplate( cms::Connectio
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-CmsTemplate::~CmsTemplate() throw() {
+CmsTemplate::~CmsTemplate() {
 
     try {
         destroy();

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/CmsTemplate.h Fri Mar 30 21:17:16 2012
@@ -108,7 +108,7 @@ namespace cmsutil {
             : SessionCallback(), action( action ), parent( parent ), destination( destination ) {
             }
 
-            virtual ~ProducerExecutor() throw() {}
+            virtual ~ProducerExecutor() {}
 
             virtual void doInCms( cms::Session* session );
 
@@ -140,7 +140,7 @@ namespace cmsutil {
             : ProducerExecutor( action, parent, NULL ), destinationName( destinationName ) {
             }
 
-            virtual ~ResolveProducerExecutor() throw() {}
+            virtual ~ResolveProducerExecutor() {}
 
             virtual cms::Destination* getDestination( cms::Session* session );
         };
@@ -168,7 +168,7 @@ namespace cmsutil {
             : ProducerCallback(), messageCreator( messageCreator ), parent( parent ) {
             }
 
-            virtual ~SendExecutor() throw() {}
+            virtual ~SendExecutor() {}
 
             virtual void doInCms( cms::Session* session,
                                   cms::MessageProducer* producer ) {
@@ -209,7 +209,7 @@ namespace cmsutil {
               parent( parent ) {
             }
 
-            virtual ~ReceiveExecutor() throw() {}
+            virtual ~ReceiveExecutor() {}
 
             virtual void doInCms( cms::Session* session );
 
@@ -247,7 +247,7 @@ namespace cmsutil {
 
             }
 
-            virtual ~ResolveReceiveExecutor() throw() {}
+            virtual ~ResolveReceiveExecutor() {}
 
             virtual cms::Destination* getDestination( cms::Session* session );
         };
@@ -292,7 +292,7 @@ namespace cmsutil {
         CmsTemplate();
         CmsTemplate( cms::ConnectionFactory* connectionFactory );
 
-        virtual ~CmsTemplate() throw();
+        virtual ~CmsTemplate();
 
         /**
          * Sets the destination object to be used by default for send/receive operations.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DestinationResolver.h Fri Mar 30 21:17:16 2012
@@ -32,7 +32,7 @@ namespace cmsutil {
     class AMQCPP_API DestinationResolver {
     public:
 
-        virtual ~DestinationResolver() throw() {}
+        virtual ~DestinationResolver() {}
 
         /**
          * Initializes this destination resolver for use.  Ensures that any

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.cpp Fri Mar 30 21:17:16 2012
@@ -76,7 +76,7 @@ DynamicDestinationResolver::DynamicDesti
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-DynamicDestinationResolver::~DynamicDestinationResolver() throw() {
+DynamicDestinationResolver::~DynamicDestinationResolver() {
     destroy();
 }
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/DynamicDestinationResolver.h Fri Mar 30 21:17:16 2012
@@ -57,7 +57,7 @@ namespace cmsutil {
                   queueMap() {
             }
 
-            virtual ~SessionResolver() throw() {}
+            virtual ~SessionResolver() {}
 
             cms::Topic* getTopic(const std::string& topicName );
 
@@ -84,7 +84,7 @@ namespace cmsutil {
 
         DynamicDestinationResolver();
 
-        virtual ~DynamicDestinationResolver() throw();
+        virtual ~DynamicDestinationResolver();
 
         virtual void init( ResourceLifecycleManager* mgr ) {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/MessageCreator.h Fri Mar 30 21:17:16 2012
@@ -32,7 +32,7 @@ namespace cmsutil {
     class AMQCPP_API MessageCreator {
     public:
 
-        virtual ~MessageCreator() throw () {}
+        virtual ~MessageCreator() {}
 
         /**
          * Creates a message from the given session.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.cpp Fri Mar 30 21:17:16 2012
@@ -39,7 +39,7 @@ PooledSession::PooledSession( SessionPoo
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-PooledSession::~PooledSession() throw() {
+PooledSession::~PooledSession() {
 
     // Destroy cached producers.
     std::vector<CachedProducer*> cachedProducers = producerCache.values();

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/PooledSession.h Fri Mar 30 21:17:16 2012
@@ -57,7 +57,7 @@ namespace cmsutil {
         /**
          * Does nothing
          */
-        virtual ~PooledSession() throw();
+        virtual ~PooledSession();
 
         /**
          * Returns a non-constant reference to the internal session object.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/cmsutil/ProducerCallback.h Fri Mar 30 21:17:16 2012
@@ -31,7 +31,7 @@ namespace cmsutil {
     class AMQCPP_API ProducerCallback {
     public:
 
-        virtual ~ProducerCallback() throw() {}
+        virtual ~ProducerCallback() {}
 
         /**
          * Execute an action given a session and producer.

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.cpp Fri Mar 30 21:17:16 2012
@@ -193,19 +193,19 @@ namespace core{
 }}
 
 ////////////////////////////////////////////////////////////////////////////////
-cms::ConnectionFactory* cms::ConnectionFactory::createCMSConnectionFactory( const std::string& brokerURI ) {
+cms::ConnectionFactory* cms::ConnectionFactory::createCMSConnectionFactory(const std::string& brokerURI) {
 
     return new ActiveMQConnectionFactory( brokerURI );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQConnectionFactory::ActiveMQConnectionFactory() : settings( new FactorySettings() ) {
+ActiveMQConnectionFactory::ActiveMQConnectionFactory() : settings(new FactorySettings()) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQConnectionFactory::ActiveMQConnectionFactory( const std::string& uri,
-                                                      const std::string& username,
-                                                      const std::string& password ) : settings( new FactorySettings() ) {
+ActiveMQConnectionFactory::ActiveMQConnectionFactory(const std::string& uri,
+                                                     const std::string& username,
+                                                     const std::string& password) : settings( new FactorySettings() ) {
 
     this->setBrokerURI(FactorySettings::createURI(uri));
 
@@ -219,9 +219,9 @@ ActiveMQConnectionFactory::ActiveMQConne
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQConnectionFactory::ActiveMQConnectionFactory( const decaf::net::URI& uri,
-                                                      const std::string& username,
-                                                      const std::string& password ) : settings( new FactorySettings() ) {
+ActiveMQConnectionFactory::ActiveMQConnectionFactory(const decaf::net::URI& uri,
+                                                     const std::string& username,
+                                                     const std::string& password) : settings( new FactorySettings() ) {
 
     this->setBrokerURI(uri);
 
@@ -235,7 +235,7 @@ ActiveMQConnectionFactory::ActiveMQConne
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQConnectionFactory::~ActiveMQConnectionFactory() throw() {
+ActiveMQConnectionFactory::~ActiveMQConnectionFactory() {
     try{
         delete this->settings;
     }
@@ -249,25 +249,20 @@ cms::Connection* ActiveMQConnectionFacto
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-cms::Connection* ActiveMQConnectionFactory::createConnection( const std::string& username,
-                                                              const std::string& password ) {
-
+cms::Connection* ActiveMQConnectionFactory::createConnection(const std::string& username, const std::string& password) {
     return doCreateConnection( settings->brokerURI, username, password, settings->clientId );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-cms::Connection* ActiveMQConnectionFactory::createConnection( const std::string& username,
-                                                              const std::string& password,
-                                                              const std::string& clientId ) {
-
+cms::Connection* ActiveMQConnectionFactory::createConnection(const std::string& username, const std::string& password, const std::string& clientId) {
     return doCreateConnection( settings->brokerURI, username, password, clientId );
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-cms::Connection* ActiveMQConnectionFactory::doCreateConnection( const decaf::net::URI& uri,
-                                                                const std::string& username,
-                                                                const std::string& password,
-                                                                const std::string& clientId ) {
+cms::Connection* ActiveMQConnectionFactory::doCreateConnection(const decaf::net::URI& uri,
+                                                               const std::string& username,
+                                                               const std::string& password,
+                                                               const std::string& clientId) {
 
     Pointer<Transport> transport;
     auto_ptr<ActiveMQConnection> connection;
@@ -335,7 +330,7 @@ cms::Connection* ActiveMQConnectionFacto
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQConnection* ActiveMQConnectionFactory::createActiveMQConnection(
     const Pointer<transport::Transport>& transport,
-    const Pointer<decaf::util::Properties>& properties ) {
+    const Pointer<decaf::util::Properties>& properties) {
 
     return new ActiveMQConnection( transport, properties );
 }
@@ -345,7 +340,7 @@ cms::Connection* ActiveMQConnectionFacto
     const std::string& uri,
     const std::string& username,
     const std::string& password,
-    const std::string& clientId ) {
+    const std::string& clientId) {
 
     ActiveMQConnectionFactory factory;
 
@@ -353,29 +348,29 @@ cms::Connection* ActiveMQConnectionFacto
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::configureConnection( ActiveMQConnection* connection ) {
+void ActiveMQConnectionFactory::configureConnection(ActiveMQConnection* connection) {
 
-    connection->setUsername( this->settings->username );
-    connection->setPassword( this->settings->password );
-    connection->setDispatchAsync( this->settings->dispatchAsync );
-    connection->setAlwaysSyncSend( this->settings->alwaysSyncSend );
-    connection->setUseAsyncSend( this->settings->useAsyncSend );
-    connection->setUseCompression( this->settings->useCompression );
-    connection->setCompressionLevel( this->settings->compressionLevel );
-    connection->setSendTimeout( this->settings->sendTimeout );
-    connection->setCloseTimeout( this->settings->closeTimeout );
-    connection->setProducerWindowSize( this->settings->producerWindowSize );
-    connection->setPrefetchPolicy( this->settings->defaultPrefetchPolicy->clone() );
-    connection->setRedeliveryPolicy( this->settings->defaultRedeliveryPolicy->clone() );
-    connection->setMessagePrioritySupported( this->settings->messagePrioritySupported );
+    connection->setUsername(this->settings->username);
+    connection->setPassword(this->settings->password);
+    connection->setDispatchAsync(this->settings->dispatchAsync);
+    connection->setAlwaysSyncSend(this->settings->alwaysSyncSend);
+    connection->setUseAsyncSend(this->settings->useAsyncSend);
+    connection->setUseCompression(this->settings->useCompression);
+    connection->setCompressionLevel(this->settings->compressionLevel);
+    connection->setSendTimeout(this->settings->sendTimeout);
+    connection->setCloseTimeout(this->settings->closeTimeout);
+    connection->setProducerWindowSize(this->settings->producerWindowSize);
+    connection->setPrefetchPolicy(this->settings->defaultPrefetchPolicy->clone());
+    connection->setRedeliveryPolicy(this->settings->defaultRedeliveryPolicy->clone());
+    connection->setMessagePrioritySupported(this->settings->messagePrioritySupported);
 
-    if( this->settings->defaultListener ) {
-        connection->setExceptionListener( this->settings->defaultListener );
+    if (this->settings->defaultListener) {
+        connection->setExceptionListener(this->settings->defaultListener);
     }
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setUsername( const std::string& username ) {
+void ActiveMQConnectionFactory::setUsername(const std::string& username) {
     settings->username = username;
 }
 
@@ -385,7 +380,7 @@ const std::string& ActiveMQConnectionFac
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setPassword( const std::string& password ){
+void ActiveMQConnectionFactory::setPassword(const std::string& password) {
     settings->password = password;
 }
 
@@ -400,17 +395,17 @@ std::string ActiveMQConnectionFactory::g
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setClientId( const std::string& clientId ) {
+void ActiveMQConnectionFactory::setClientId(const std::string& clientId) {
     this->settings->clientId = clientId;
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setBrokerURI( const std::string& uri ) {
+void ActiveMQConnectionFactory::setBrokerURI(const std::string& uri) {
     this->setBrokerURI(FactorySettings::createURI(uri));
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setBrokerURI( const decaf::net::URI& uri ) {
+void ActiveMQConnectionFactory::setBrokerURI(const decaf::net::URI& uri) {
     this->settings->updateConfiguration(uri);
 }
 
@@ -420,7 +415,7 @@ const decaf::net::URI& ActiveMQConnectio
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setExceptionListener( cms::ExceptionListener* listener ) {
+void ActiveMQConnectionFactory::setExceptionListener(cms::ExceptionListener* listener) {
     this->settings->defaultListener = listener;
 }
 
@@ -430,8 +425,8 @@ cms::ExceptionListener* ActiveMQConnecti
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setPrefetchPolicy( PrefetchPolicy* policy ) {
-    this->settings->defaultPrefetchPolicy.reset( policy );
+void ActiveMQConnectionFactory::setPrefetchPolicy(PrefetchPolicy* policy) {
+    this->settings->defaultPrefetchPolicy.reset(policy);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -440,8 +435,8 @@ PrefetchPolicy* ActiveMQConnectionFactor
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setRedeliveryPolicy( RedeliveryPolicy* policy ) {
-    this->settings->defaultRedeliveryPolicy.reset( policy );
+void ActiveMQConnectionFactory::setRedeliveryPolicy(RedeliveryPolicy* policy) {
+    this->settings->defaultRedeliveryPolicy.reset(policy);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -455,7 +450,7 @@ bool ActiveMQConnectionFactory::isDispat
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setDispatchAsync( bool value ) {
+void ActiveMQConnectionFactory::setDispatchAsync(bool value) {
     this->settings->dispatchAsync = value;
 }
 
@@ -465,7 +460,7 @@ bool ActiveMQConnectionFactory::isAlways
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setAlwaysSyncSend( bool value ) {
+void ActiveMQConnectionFactory::setAlwaysSyncSend(bool value) {
     this->settings->alwaysSyncSend = value;
 }
 
@@ -475,7 +470,7 @@ bool ActiveMQConnectionFactory::isUseAsy
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setUseAsyncSend( bool value ) {
+void ActiveMQConnectionFactory::setUseAsyncSend(bool value) {
     this->settings->useAsyncSend = value;
 }
 
@@ -485,7 +480,7 @@ bool ActiveMQConnectionFactory::isUseCom
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setUseCompression( bool value ) {
+void ActiveMQConnectionFactory::setUseCompression(bool value) {
     this->settings->useCompression = value;
 }
 
@@ -495,13 +490,13 @@ int ActiveMQConnectionFactory::getCompre
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setCompressionLevel( int value ) {
+void ActiveMQConnectionFactory::setCompressionLevel(int value) {
 
-    if( value < 0 ) {
+    if (value < 0) {
         this->settings->compressionLevel = -1;
     }
 
-    this->settings->compressionLevel = Math::min( value, 9 );
+    this->settings->compressionLevel = Math::min(value, 9);
 }
 
 ////////////////////////////////////////////////////////////////////////////////
@@ -510,7 +505,7 @@ unsigned int ActiveMQConnectionFactory::
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setSendTimeout( unsigned int timeout ) {
+void ActiveMQConnectionFactory::setSendTimeout(unsigned int timeout) {
     this->settings->sendTimeout = timeout;
 }
 
@@ -520,7 +515,7 @@ unsigned int ActiveMQConnectionFactory::
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setCloseTimeout( unsigned int timeout ) {
+void ActiveMQConnectionFactory::setCloseTimeout(unsigned int timeout) {
     this->settings->closeTimeout = timeout;
 }
 
@@ -530,7 +525,7 @@ unsigned int ActiveMQConnectionFactory::
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setProducerWindowSize( unsigned int windowSize ) {
+void ActiveMQConnectionFactory::setProducerWindowSize(unsigned int windowSize) {
     this->settings->producerWindowSize = windowSize;
 }
 
@@ -540,6 +535,6 @@ bool ActiveMQConnectionFactory::isMessag
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-void ActiveMQConnectionFactory::setMessagePrioritySupported( bool value ) {
+void ActiveMQConnectionFactory::setMessagePrioritySupported(bool value) {
     this->settings->messagePrioritySupported = value;
 }

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionFactory.h Fri Mar 30 21:17:16 2012
@@ -50,8 +50,8 @@ namespace core{
 
     private:
 
-        ActiveMQConnectionFactory( const ActiveMQConnectionFactory& );
-        ActiveMQConnectionFactory& operator= ( const ActiveMQConnectionFactory& );
+        ActiveMQConnectionFactory(const ActiveMQConnectionFactory&);
+        ActiveMQConnectionFactory& operator=(const ActiveMQConnectionFactory&);
 
     public:
 
@@ -63,9 +63,7 @@ namespace core{
          * @param username to authenticate with, defaults to ""
          * @param password to authenticate with, defaults to ""
          */
-        ActiveMQConnectionFactory( const std::string& uri,
-                                   const std::string& username = "",
-                                   const std::string& password = "" );
+        ActiveMQConnectionFactory(const std::string& uri, const std::string& username = "", const std::string& password = "");
 
         /**
          * Constructor
@@ -73,11 +71,9 @@ namespace core{
          * @param username to authenticate with, defaults to ""
          * @param password to authenticate with, defaults to ""
          */
-        ActiveMQConnectionFactory( const decaf::net::URI& uri,
-                                   const std::string& username = "",
-                                   const std::string& password = "" );
+        ActiveMQConnectionFactory(const decaf::net::URI& uri, const std::string& username = "", const std::string& password = "");
 
-        virtual ~ActiveMQConnectionFactory() throw();
+        virtual ~ActiveMQConnectionFactory();
 
         /**
          * Creates a connection with the default user identity. The
@@ -102,8 +98,7 @@ namespace core{
          * @returns a Connection Pointer
          * @throws CMSException
          */
-        virtual cms::Connection* createConnection( const std::string& username,
-                                                   const std::string& password );
+        virtual cms::Connection* createConnection(const std::string& username, const std::string& password);
 
         /**
          * Creates a connection with the specified user identity. The
@@ -120,9 +115,7 @@ namespace core{
          * @returns a Connection Pointer
          * @throws CMSException
          */
-        virtual cms::Connection* createConnection( const std::string& username,
-                                                   const std::string& password,
-                                                   const std::string& clientId );
+        virtual cms::Connection* createConnection(const std::string& username, const std::string& password, const std::string& clientId);
 
     public:   // Configuration Options
 
@@ -130,7 +123,7 @@ namespace core{
          * Sets the username that should be used when creating a new connection
          * @param username string
          */
-        void setUsername( const std::string& username );
+        void setUsername(const std::string& username);
 
         /**
          * Gets the username that this factory will use when creating a new
@@ -143,7 +136,7 @@ namespace core{
          * Sets the password that should be used when creating a new connection
          * @param password string
          */
-        void setPassword( const std::string& password );
+        void setPassword(const std::string& password);
 
         /**
          * Gets the password that this factory will use when creating a new
@@ -162,7 +155,7 @@ namespace core{
          * Sets the Client Id.
          * @param clientId - The new clientId value.
          */
-        void setClientId( const std::string& clientId );
+        void setClientId(const std::string& clientId);
 
         /**
          * Sets the Broker URI that should be used when creating a new connection instance.
@@ -170,7 +163,7 @@ namespace core{
          * @param brokerURI
          *      The string form of the Broker URI, this will be converted to a URI object.
          */
-        void setBrokerURI( const std::string& uri );
+        void setBrokerURI(const std::string& uri);
 
         /**
          * Sets the Broker URI that should be used when creating a new connection instance.
@@ -178,7 +171,7 @@ namespace core{
          * @param brokerURI
          *      The URI of the broker that this client will connect to.
          */
-        void setBrokerURI( const decaf::net::URI& uri );
+        void setBrokerURI(const decaf::net::URI& uri);
 
         /**
          * Gets the Broker URI that this factory will use when creating a new
@@ -195,7 +188,7 @@ namespace core{
          * @param listener
          * 		The listener to set on the connection or NULL for no listener.
          */
-        void setExceptionListener( cms::ExceptionListener* listener );
+        void setExceptionListener(cms::ExceptionListener* listener);
 
         /**
          * Returns the currently set ExceptionListener that will be set on any new Connection
@@ -213,7 +206,7 @@ namespace core{
          * @param policy
          *      The new PrefetchPolicy that the ConnectionFactory should clone for Connections.
          */
-        void setPrefetchPolicy( PrefetchPolicy* policy );
+        void setPrefetchPolicy(PrefetchPolicy* policy);
 
         /**
          * Gets the pointer to the current PrefetchPolicy that is in use by this ConnectionFactory.
@@ -230,7 +223,7 @@ namespace core{
          * @param policy
          *      The new RedeliveryPolicy that the ConnectionFactory should clone for Connections.
          */
-        void setRedeliveryPolicy( RedeliveryPolicy* policy );
+        void setRedeliveryPolicy(RedeliveryPolicy* policy);
 
         /**
          * Gets the pointer to the current RedeliveryPolicy that is in use by this ConnectionFactory.
@@ -252,7 +245,7 @@ namespace core{
          * @param value
          *        The value of the dispatch asynchronously option sent to the broker.
          */
-        void setDispatchAsync( bool value );
+        void setDispatchAsync(bool value);
 
         /**
          * Gets if the Connection should always send things Synchronously.
@@ -266,7 +259,7 @@ namespace core{
          * @param value
          *        true if sends should always be Synchronous.
          */
-        void setAlwaysSyncSend( bool value );
+        void setAlwaysSyncSend(bool value);
 
         /**
          * Gets if the useAsyncSend option is set
@@ -278,7 +271,7 @@ namespace core{
          * Sets the useAsyncSend option
          * @param value - true to activate, false to disable.
          */
-        void setUseAsyncSend( bool value );
+        void setUseAsyncSend(bool value);
 
         /**
          * Gets if the Connection is configured for Message body compression.
@@ -292,7 +285,7 @@ namespace core{
          * @param value
          *      Boolean indicating if Message body compression is enabled.
          */
-        void setUseCompression( bool value );
+        void setUseCompression(bool value);
 
         /**
          * Sets the Compression level used when Message body compression is enabled, a
@@ -303,7 +296,7 @@ namespace core{
          * @param value
          *      A signed int value that controls the compression level.
          */
-        void setCompressionLevel( int value );
+        void setCompressionLevel(int value);
 
         /**
          * Gets the currently configured Compression level for Message bodies.
@@ -335,7 +328,7 @@ namespace core{
          * Sets the close timeout to use when sending the disconnect request.
          * @param timeout - The time to wait for a close message.
          */
-        void setCloseTimeout( unsigned int timeout );
+        void setCloseTimeout(unsigned int timeout);
 
         /**
          * Gets the configured producer window size for Producers that are created
@@ -352,7 +345,7 @@ namespace core{
          * message to be sent.
          * @param windowSize - The size in bytes of the Producers memory window.
          */
-        void setProducerWindowSize( unsigned int windowSize );
+        void setProducerWindowSize(unsigned int windowSize);
 
         /**
          * @returns true if the Connections that this factory creates should support the
@@ -367,7 +360,7 @@ namespace core{
          * @param value
          *      Boolean indicating if Message priority should be enabled.
          */
-        void setMessagePrioritySupported( bool value );
+        void setMessagePrioritySupported(bool value);
 
     public:
 
@@ -387,10 +380,8 @@ namespace core{
          *
          * @throw CMSException.
          */
-        static cms::Connection* createConnection( const std::string& uri,
-                                                  const std::string& username,
-                                                  const std::string& password,
-                                                  const std::string& clientId = "" );
+        static cms::Connection* createConnection(const std::string& uri, const std::string& username,
+                                                 const std::string& password, const std::string& clientId = "");
 
     protected:
 
@@ -406,17 +397,15 @@ namespace core{
          *
          * @returns a new ActiveMQConnection pointer instance.
          */
-        virtual ActiveMQConnection* createActiveMQConnection( const Pointer<transport::Transport>& transport,
-                                                              const Pointer<decaf::util::Properties>& properties );
+        virtual ActiveMQConnection* createActiveMQConnection(const Pointer<transport::Transport>& transport,
+                                                             const Pointer<decaf::util::Properties>& properties);
 
     private:
 
-        cms::Connection* doCreateConnection( const decaf::net::URI& uri,
-                                             const std::string& username,
-                                             const std::string& password,
-                                             const std::string& clientId );
+        cms::Connection* doCreateConnection(const decaf::net::URI& uri, const std::string& username,
+                                            const std::string& password, const std::string& clientId);
 
-        void configureConnection( ActiveMQConnection* connection );
+        void configureConnection(ActiveMQConnection* connection);
 
     };
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.cpp Fri Mar 30 21:17:16 2012
@@ -26,7 +26,7 @@ ActiveMQConnectionMetaData::ActiveMQConn
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQConnectionMetaData::~ActiveMQConnectionMetaData() throw() {
+ActiveMQConnectionMetaData::~ActiveMQConnectionMetaData() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConnectionMetaData.h Fri Mar 30 21:17:16 2012
@@ -40,7 +40,7 @@ namespace core {
     public:
 
         ActiveMQConnectionMetaData();
-        virtual ~ActiveMQConnectionMetaData() throw();
+        virtual ~ActiveMQConnectionMetaData();
 
     public:  // cms::ConnectionMetaData
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.cpp Fri Mar 30 21:17:16 2012
@@ -67,7 +67,7 @@ ActiveMQConsumer::ActiveMQConsumer(const
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQConsumer::~ActiveMQConsumer() throw () {
+ActiveMQConsumer::~ActiveMQConsumer() {
 
     try {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQConsumer.h Fri Mar 30 21:17:16 2012
@@ -59,7 +59,7 @@ namespace core{
          */
         ActiveMQConsumer(const Pointer<activemq::core::kernels::ActiveMQConsumerKernel>& kernel);
 
-        virtual ~ActiveMQConsumer() throw();
+        virtual ~ActiveMQConsumer();
 
     public:  // Interface Implementation for cms::MessageConsumer
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.cpp Fri Mar 30 21:17:16 2012
@@ -126,7 +126,7 @@ ActiveMQQueueBrowser::ActiveMQQueueBrows
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQQueueBrowser::~ActiveMQQueueBrowser() throw() {
+ActiveMQQueueBrowser::~ActiveMQQueueBrowser() {
     try{
         this->close();
     }

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQQueueBrowser.h Fri Mar 30 21:17:16 2012
@@ -76,7 +76,7 @@ namespace kernels {
                              const std::string& selector,
                              bool dispatchAsync);
 
-        virtual ~ActiveMQQueueBrowser() throw();
+        virtual ~ActiveMQQueueBrowser();
 
     public:
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.cpp Fri Mar 30 21:17:16 2012
@@ -49,7 +49,7 @@ ActiveMQXAConnectionFactory::ActiveMQXAC
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQXAConnectionFactory::~ActiveMQXAConnectionFactory() throw() {
+ActiveMQXAConnectionFactory::~ActiveMQXAConnectionFactory() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/ActiveMQXAConnectionFactory.h Fri Mar 30 21:17:16 2012
@@ -56,7 +56,7 @@ namespace core {
                                      const std::string& username = "",
                                      const std::string& password = "" );
 
-        virtual ~ActiveMQXAConnectionFactory() throw();
+        virtual ~ActiveMQXAConnectionFactory();
 
         virtual cms::XAConnection* createXAConnection();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.cpp Fri Mar 30 21:17:16 2012
@@ -367,7 +367,7 @@ ActiveMQConsumerKernel::ActiveMQConsumer
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQConsumerKernel::~ActiveMQConsumerKernel() throw() {
+ActiveMQConsumerKernel::~ActiveMQConsumerKernel() {
 
     try {
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/core/kernels/ActiveMQConsumerKernel.h Fri Mar 30 21:17:16 2012
@@ -82,7 +82,7 @@ namespace kernels {
                                bool dispatchAsync,
                                cms::MessageListener* listener);
 
-        virtual ~ActiveMQConsumerKernel() throw();
+        virtual ~ActiveMQConsumerKernel();
 
     public:  // Interface Implementation
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.cpp Fri Mar 30 21:17:16 2012
@@ -29,11 +29,11 @@ using namespace std;
 #endif
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQException::ActiveMQException() throw() : decaf::lang::Exception() {
+ActiveMQException::ActiveMQException() : decaf::lang::Exception() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQException::ActiveMQException( const ActiveMQException& ex ) throw()
+ActiveMQException::ActiveMQException( const ActiveMQException& ex )
 : decaf::lang::Exception() {
 
   this->message = ex.getMessage();
@@ -42,7 +42,7 @@ ActiveMQException::ActiveMQException( co
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQException::ActiveMQException( const Exception& ex ) throw()
+ActiveMQException::ActiveMQException( const Exception& ex )
 : decaf::lang::Exception() {
 
   this->message = ex.getMessage();
@@ -52,7 +52,7 @@ ActiveMQException::ActiveMQException( co
 
 ////////////////////////////////////////////////////////////////////////////////
 ActiveMQException::ActiveMQException( const char* file, const int lineNumber,
-                                      const char* msg, ... ) throw()
+                                      const char* msg, ... )
 : decaf::lang::Exception() {
 
     va_list vargs;
@@ -64,7 +64,7 @@ ActiveMQException::ActiveMQException( co
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQException::~ActiveMQException() throw(){
+ActiveMQException::~ActiveMQException() throw() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/ActiveMQException.h Fri Mar 30 21:17:16 2012
@@ -40,7 +40,7 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        ActiveMQException() throw();
+        ActiveMQException();
 
         /**
          * Copy Constructor
@@ -48,7 +48,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose internal data is copied into this instance.
          */
-        ActiveMQException( const ActiveMQException& ex ) throw();
+        ActiveMQException( const ActiveMQException& ex );
 
         /**
          * Copy Constructor
@@ -56,7 +56,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose internal data is copied into this instance.
          */
-        ActiveMQException( const decaf::lang::Exception& ex ) throw();
+        ActiveMQException( const decaf::lang::Exception& ex );
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -72,8 +72,7 @@ namespace exceptions{
          * @param ...
          *      The list of primitives that are formatted into the message.
          */
-        ActiveMQException( const char* file, const int lineNumber,
-                           const char* msg, ... ) throw();
+        ActiveMQException(const char* file, const int lineNumber, const char* msg, ...);
 
         virtual ~ActiveMQException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/BrokerException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/BrokerException.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/BrokerException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/exceptions/BrokerException.h Fri Mar 30 21:17:16 2012
@@ -29,20 +29,20 @@ namespace exceptions{
     class AMQCPP_API BrokerException : public exceptions::ActiveMQException {
     public:
 
-        BrokerException() throw() {}
+        BrokerException() {}
 
-        BrokerException( const exceptions::ActiveMQException& ex ) throw()
+        BrokerException( const exceptions::ActiveMQException& ex )
             : exceptions::ActiveMQException(){
             *( exceptions::ActiveMQException* )this = ex;
         }
 
-        BrokerException( const BrokerException& ex ) throw()
+        BrokerException( const BrokerException& ex )
             : exceptions::ActiveMQException(){
             *( exceptions::ActiveMQException* )this = ex;
         }
 
         BrokerException( const char* file, const int lineNumber,
-                         const char* msg, ... ) throw()
+                         const char* msg, ... )
           : exceptions::ActiveMQException() {
 
             va_list vargs;
@@ -54,7 +54,7 @@ namespace exceptions{
         }
 
         BrokerException( const char* file, const int lineNumber,
-                         const commands::BrokerError* error ) throw()
+                         const commands::BrokerError* error )
           : exceptions::ActiveMQException() {
 
             std::ostringstream ostream;

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.cpp Fri Mar 30 21:17:16 2012
@@ -27,7 +27,7 @@ ActiveMQProperties::ActiveMQProperties()
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-ActiveMQProperties::~ActiveMQProperties() throw() {
+ActiveMQProperties::~ActiveMQProperties() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/util/ActiveMQProperties.h Fri Mar 30 21:17:16 2012
@@ -43,7 +43,7 @@ namespace util{
 
         ActiveMQProperties();
 
-        virtual ~ActiveMQProperties() throw();
+        virtual ~ActiveMQProperties();
 
         virtual decaf::util::Properties& getProperties() {
             return this->properties;

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.cpp?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.cpp Fri Mar 30 21:17:16 2012
@@ -37,7 +37,7 @@ BooleanStream::BooleanStream() : data(),
 }
 
 ///////////////////////////////////////////////////////////////////////////////
-BooleanStream::~BooleanStream() throw() {
+BooleanStream::~BooleanStream() {
 }
 
 ///////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.h?rev=1307618&r1=1307617&r2=1307618&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/activemq/wireformat/openwire/utils/BooleanStream.h Fri Mar 30 21:17:16 2012
@@ -65,7 +65,7 @@ namespace utils{
 
         BooleanStream();
 
-        virtual ~BooleanStream() throw();
+        virtual ~BooleanStream();
 
         /**
          * Read a boolean data element from the internal data buffer



Mime
View raw message