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 2010/11/12 17:51:59 UTC

svn commit: r1034467 - /activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/

Author: tabish
Date: Fri Nov 12 16:51:58 2010
New Revision: 1034467

URL: http://svn.apache.org/viewvc?rev=1034467&view=rev
Log:
Remove most of the throws specifiers since they are depricated in the next C++ draft standard.

Modified:
    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/CMSSecurityException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.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/MessageEOFException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.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/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/UnsupportedOperationException.cpp
    activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.h

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.cpp Fri Nov 12 16:51:58 2010
@@ -39,12 +39,12 @@ namespace cms{
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-CMSException::CMSException() throw() : std::exception() {
+CMSException::CMSException() : std::exception() {
     this->data = new CMSExceptionData();
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-CMSException::CMSException( const CMSException& ex ) throw() : std::exception() {
+CMSException::CMSException( const CMSException& ex ) : std::exception() {
 
     this->data = new CMSExceptionData();
     this->data->cause.reset( ex.data->cause.release() );
@@ -53,8 +53,15 @@ CMSException::CMSException( const CMSExc
 }
 
 ////////////////////////////////////////////////////////////////////////////////
+CMSException::CMSException( const std::string& message ) : std::exception() {
+
+    this->data = new CMSExceptionData();
+    this->data->message = message;
+}
+
+////////////////////////////////////////////////////////////////////////////////
 CMSException::CMSException( const std::string& message,
-                            const std::exception* cause ) throw() : std::exception() {
+                            const std::exception* cause ) : std::exception() {
 
     this->data = new CMSExceptionData();
     this->data->cause.reset( cause );
@@ -65,7 +72,7 @@ CMSException::CMSException( const std::s
 CMSException::CMSException( const std::string& message,
                             const std::exception* cause,
                             const std::vector< std::pair< std::string, int> >& stackTrace )
-                                throw() : std::exception() {
+                                : std::exception() {
 
     this->data = new CMSExceptionData();
     this->data->cause.reset( cause );

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSException.h Fri Nov 12 16:51:58 2010
@@ -55,16 +55,18 @@ namespace cms{
 
     public:
 
-        CMSException() throw();
+        CMSException();
 
-        CMSException( const CMSException& ex ) throw();
+        CMSException( const CMSException& ex );
+
+        CMSException( const std::string& message );
 
         CMSException( const std::string& message,
-                      const std::exception* cause ) throw();
+                      const std::exception* cause );
 
         CMSException( const std::string& message,
                       const std::exception* cause,
-                      const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                      const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~CMSException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-CMSSecurityException::CMSSecurityException() throw() : CMSException() {
+CMSSecurityException::CMSSecurityException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 CMSSecurityException::CMSSecurityException( const CMSSecurityException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+CMSSecurityException::CMSSecurityException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 CMSSecurityException::CMSSecurityException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 CMSSecurityException::CMSSecurityException( const std::string& message,
                                             const std::exception* cause,
                                             const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/CMSSecurityException.h Fri Nov 12 16:51:58 2010
@@ -33,16 +33,18 @@ namespace cms{
     class CMS_API CMSSecurityException : public CMSException {
     public:
 
-        CMSSecurityException() throw();
+        CMSSecurityException();
 
-        CMSSecurityException( const CMSSecurityException& ex ) throw();
+        CMSSecurityException( const CMSSecurityException& ex );
+
+        CMSSecurityException( const std::string& message );
 
         CMSSecurityException( const std::string& message,
-                              const std::exception* cause ) throw();
+                              const std::exception* cause );
 
         CMSSecurityException( const std::string& message,
                               const std::exception* cause,
-                              const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                              const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~CMSSecurityException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-IllegalStateException::IllegalStateException() throw() : CMSException() {
+IllegalStateException::IllegalStateException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 IllegalStateException::IllegalStateException( const IllegalStateException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalStateException::IllegalStateException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 IllegalStateException::IllegalStateException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 IllegalStateException::IllegalStateException( const std::string& message,
                                               const std::exception* cause,
                                               const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/IllegalStateException.h Fri Nov 12 16:51:58 2010
@@ -34,16 +34,18 @@ namespace cms{
     class CMS_API IllegalStateException : public CMSException {
     public:
 
-        IllegalStateException() throw();
+        IllegalStateException();
 
-        IllegalStateException( const IllegalStateException& ex ) throw();
+        IllegalStateException( const IllegalStateException& ex );
+
+        IllegalStateException( const std::string& message );
 
         IllegalStateException( const std::string& message,
-                               const std::exception* cause ) throw();
+                               const std::exception* cause );
 
         IllegalStateException( const std::string& message,
                                const std::exception* cause,
-                               const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                               const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~IllegalStateException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-InvalidClientIdException::InvalidClientIdException() throw() : CMSException() {
+InvalidClientIdException::InvalidClientIdException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidClientIdException::InvalidClientIdException( const InvalidClientIdException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidClientIdException::InvalidClientIdException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidClientIdException::InvalidClientIdException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidClientIdException::InvalidClientIdException( const std::string& message,
                                                     const std::exception* cause,
                                                     const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidClientIdException.h Fri Nov 12 16:51:58 2010
@@ -32,16 +32,18 @@ namespace cms{
     class CMS_API InvalidClientIdException : public CMSException {
     public:
 
-        InvalidClientIdException() throw();
+        InvalidClientIdException();
 
-        InvalidClientIdException( const InvalidClientIdException& ex ) throw();
+        InvalidClientIdException( const InvalidClientIdException& ex );
+
+        InvalidClientIdException( const std::string& message );
 
         InvalidClientIdException( const std::string& message,
-                                  const std::exception* cause ) throw();
+                                  const std::exception* cause );
 
         InvalidClientIdException( const std::string& message,
                                   const std::exception* cause,
-                                  const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                                  const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~InvalidClientIdException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-InvalidDestinationException::InvalidDestinationException() throw() : CMSException() {
+InvalidDestinationException::InvalidDestinationException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidDestinationException::InvalidDestinationException( const InvalidDestinationException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidDestinationException::InvalidDestinationException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidDestinationException::InvalidDestinationException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidDestinationException::InvalidDestinationException( const std::string& message,
                                                           const std::exception* cause,
                                                           const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidDestinationException.h Fri Nov 12 16:51:58 2010
@@ -32,16 +32,18 @@ namespace cms{
     class CMS_API InvalidDestinationException : public CMSException {
     public:
 
-        InvalidDestinationException() throw();
+        InvalidDestinationException();
 
-        InvalidDestinationException( const InvalidDestinationException& ex ) throw();
+        InvalidDestinationException( const InvalidDestinationException& ex );
+
+        InvalidDestinationException( const std::string& message );
 
         InvalidDestinationException( const std::string& message,
-                                     const std::exception* cause ) throw();
+                                     const std::exception* cause );
 
         InvalidDestinationException( const std::string& message,
                                      const std::exception* cause,
-                                     const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                                     const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~InvalidDestinationException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-InvalidSelectorException::InvalidSelectorException() throw() : CMSException() {
+InvalidSelectorException::InvalidSelectorException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidSelectorException::InvalidSelectorException( const InvalidSelectorException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidSelectorException::InvalidSelectorException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidSelectorException::InvalidSelectorException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 InvalidSelectorException::InvalidSelectorException( const std::string& message,
                                                     const std::exception* cause,
                                                     const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/InvalidSelectorException.h Fri Nov 12 16:51:58 2010
@@ -32,16 +32,18 @@ namespace cms{
     class CMS_API InvalidSelectorException : public CMSException {
     public:
 
-        InvalidSelectorException() throw();
+        InvalidSelectorException();
 
-        InvalidSelectorException( const InvalidSelectorException& ex ) throw();
+        InvalidSelectorException( const InvalidSelectorException& ex );
+
+        InvalidSelectorException( const std::string& message );
 
         InvalidSelectorException( const std::string& message,
-                                  const std::exception* cause ) throw();
+                                  const std::exception* cause );
 
         InvalidSelectorException( const std::string& message,
                                   const std::exception* cause,
-                                  const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                                  const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~InvalidSelectorException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.cpp Fri Nov 12 16:51:58 2010
@@ -20,23 +20,28 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageEOFException::MessageEOFException() throw() : CMSException() {
+MessageEOFException::MessageEOFException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageEOFException::MessageEOFException( const MessageEOFException& ex ) throw() : CMSException( ex ) {
+MessageEOFException::MessageEOFException( const MessageEOFException& ex ) : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MessageEOFException::MessageEOFException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageEOFException::MessageEOFException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageEOFException::MessageEOFException( const std::string& message,
                                           const std::exception* cause,
                                           const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageEOFException.h Fri Nov 12 16:51:58 2010
@@ -32,16 +32,18 @@ namespace cms{
     class CMS_API MessageEOFException : public CMSException {
     public:
 
-        MessageEOFException() throw();
+        MessageEOFException();
 
-        MessageEOFException( const MessageEOFException& ex ) throw();
+        MessageEOFException( const MessageEOFException& ex );
+
+        MessageEOFException( const std::string& message );
 
         MessageEOFException( const std::string& message,
-                             const std::exception* cause ) throw();
+                             const std::exception* cause );
 
         MessageEOFException( const std::string& message,
                              const std::exception* cause,
-                             const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                             const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~MessageEOFException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageFormatException::MessageFormatException() throw() : CMSException() {
+MessageFormatException::MessageFormatException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageFormatException::MessageFormatException( const MessageFormatException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MessageFormatException::MessageFormatException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageFormatException::MessageFormatException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageFormatException::MessageFormatException( const std::string& message,
                                                 const std::exception* cause,
                                                 const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageFormatException.h Fri Nov 12 16:51:58 2010
@@ -35,16 +35,18 @@ namespace cms{
     class CMS_API MessageFormatException : public CMSException {
     public:
 
-        MessageFormatException() throw();
+        MessageFormatException();
 
-        MessageFormatException( const MessageFormatException& ex ) throw();
+        MessageFormatException( const MessageFormatException& ex );
+
+        MessageFormatException( const std::string& message );
 
         MessageFormatException( const std::string& message,
-                                const std::exception* cause ) throw();
+                                const std::exception* cause );
 
         MessageFormatException( const std::string& message,
                                 const std::exception* cause,
-                                const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                                const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~MessageFormatException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageNotReadableException::MessageNotReadableException() throw() : CMSException() {
+MessageNotReadableException::MessageNotReadableException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageNotReadableException::MessageNotReadableException( const MessageNotReadableException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MessageNotReadableException::MessageNotReadableException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageNotReadableException::MessageNotReadableException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageNotReadableException::MessageNotReadableException( const std::string& message,
                                                           const std::exception* cause,
                                                           const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotReadableException.h Fri Nov 12 16:51:58 2010
@@ -31,16 +31,18 @@ namespace cms{
     class CMS_API MessageNotReadableException : public CMSException {
     public:
 
-        MessageNotReadableException() throw();
+        MessageNotReadableException();
 
-        MessageNotReadableException( const MessageNotReadableException& ex ) throw();
+        MessageNotReadableException( const MessageNotReadableException& ex );
+
+        MessageNotReadableException( const std::string& message );
 
         MessageNotReadableException( const std::string& message,
-                                     const std::exception* cause ) throw();
+                                     const std::exception* cause );
 
         MessageNotReadableException( const std::string& message,
                                      const std::exception* cause,
-                                     const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                                     const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~MessageNotReadableException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-MessageNotWriteableException::MessageNotWriteableException() throw() : CMSException() {
+MessageNotWriteableException::MessageNotWriteableException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageNotWriteableException::MessageNotWriteableException( const MessageNotWriteableException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MessageNotWriteableException::MessageNotWriteableException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageNotWriteableException::MessageNotWriteableException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 MessageNotWriteableException::MessageNotWriteableException( const std::string& message,
                                                             const std::exception* cause,
                                                             const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/MessageNotWriteableException.h Fri Nov 12 16:51:58 2010
@@ -31,16 +31,18 @@ namespace cms{
     class CMS_API MessageNotWriteableException : public CMSException {
     public:
 
-        MessageNotWriteableException() throw();
+        MessageNotWriteableException();
 
-        MessageNotWriteableException( const MessageNotWriteableException& ex ) throw();
+        MessageNotWriteableException( const MessageNotWriteableException& ex );
+
+        MessageNotWriteableException( const std::string& message );
 
         MessageNotWriteableException( const std::string& message,
-                                      const std::exception* cause ) throw();
+                                      const std::exception* cause );
 
         MessageNotWriteableException( const std::string& message,
                                       const std::exception* cause,
-                                      const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                                      const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~MessageNotWriteableException() throw();
 

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.cpp?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.cpp (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.cpp Fri Nov 12 16:51:58 2010
@@ -20,24 +20,29 @@
 using namespace cms;
 
 ////////////////////////////////////////////////////////////////////////////////
-UnsupportedOperationException::UnsupportedOperationException() throw() : CMSException() {
+UnsupportedOperationException::UnsupportedOperationException() : CMSException() {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 UnsupportedOperationException::UnsupportedOperationException( const UnsupportedOperationException& ex )
-    throw() : CMSException( ex ) {
+    : CMSException( ex ) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedOperationException::UnsupportedOperationException( const std::string& message )
+    : CMSException( message, NULL ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 UnsupportedOperationException::UnsupportedOperationException( const std::string& message, const std::exception* cause )
-    throw() : CMSException( message, cause ) {
+    : CMSException( message, cause ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////
 UnsupportedOperationException::UnsupportedOperationException( const std::string& message,
                                                               const std::exception* cause,
                                                               const std::vector< std::pair< std::string, int> >& stackTrace )
-    throw() : CMSException( message, cause, stackTrace ) {
+    : CMSException( message, cause, stackTrace ) {
 }
 
 ////////////////////////////////////////////////////////////////////////////////

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.h?rev=1034467&r1=1034466&r2=1034467&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/cms/UnsupportedOperationException.h Fri Nov 12 16:51:58 2010
@@ -29,19 +29,21 @@ namespace cms {
      *
      * @since 2.0
      */
-    class CMS_API UnsupportedOperationException  : public CMSException {
+    class CMS_API UnsupportedOperationException : public CMSException {
     public:
 
-        UnsupportedOperationException() throw();
+        UnsupportedOperationException();
 
-        UnsupportedOperationException( const UnsupportedOperationException& ex ) throw();
+        UnsupportedOperationException( const UnsupportedOperationException& ex );
+
+        UnsupportedOperationException( const std::string& message );
 
         UnsupportedOperationException( const std::string& message,
-                                       const std::exception* cause ) throw();
+                                       const std::exception* cause );
 
         UnsupportedOperationException( const std::string& message,
                                        const std::exception* cause,
-                                       const std::vector< std::pair< std::string, int> >& stackTrace ) throw();
+                                       const std::vector< std::pair< std::string, int> >& stackTrace );
 
         virtual ~UnsupportedOperationException() throw();