activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tab...@apache.org
Subject svn commit: r1407255 [2/4] - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main: ./ decaf/io/ decaf/lang/ decaf/lang/exceptions/ decaf/net/ decaf/nio/
Date Thu, 08 Nov 2012 20:20:36 GMT
Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/ClassCastException.h Thu Nov  8 20:20:28 2012
@@ -19,9 +19,9 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an Dynamic Cast fails to convert a Pointer to a specified type.
@@ -34,7 +34,7 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        ClassCastException() : Exception() {}
+        ClassCastException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -42,10 +42,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        ClassCastException( const Exception& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        ClassCastException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -53,62 +50,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        ClassCastException( const ClassCastException& ex )
-            : Exception() {
-            *(Exception*)this = ex;
-        }
+        ClassCastException(const ClassCastException& ex);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        ClassCastException( const std::exception* cause )
-            : Exception( cause ) {}
+        ClassCastException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        ClassCastException( const char* file, const int lineNumber,
-                            const char* msg, ... )
-            : Exception()
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        ClassCastException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        ClassCastException( const char* file, const int lineNumber,
-                            const std::exception* cause,
-                            const char* msg, ... )
-            : Exception( cause )
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        ClassCastException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -117,11 +92,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual ClassCastException* clone() const{
-            return new ClassCastException( *this );
+        virtual ClassCastException* clone() const {
+            return new ClassCastException(*this);
         }
 
-        virtual ~ClassCastException() throw() {}
+        virtual ~ClassCastException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "IllegalArgumentException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalArgumentException::IllegalArgumentException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalArgumentException::~IllegalArgumentException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalArgumentException::IllegalArgumentException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalArgumentException::IllegalArgumentException(const IllegalArgumentException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalArgumentException::IllegalArgumentException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalArgumentException::IllegalArgumentException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalArgumentException::IllegalArgumentException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalArgumentException.h Thu Nov  8 20:20:28 2012
@@ -19,23 +19,22 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an illegal argument was passed into a method.
      *
      * @since 1.0
      */
-    class DECAF_API IllegalArgumentException : public Exception
-    {
+    class DECAF_API IllegalArgumentException : public Exception {
     public:
 
         /**
          * Default Constructor
          */
-        IllegalArgumentException() : Exception() {}
+        IllegalArgumentException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -43,10 +42,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IllegalArgumentException( const Exception& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        IllegalArgumentException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -54,63 +50,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IllegalArgumentException( const IllegalArgumentException& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        IllegalArgumentException(const IllegalArgumentException& ex);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        IllegalArgumentException( const std::exception* cause )
-            : Exception( cause ) {}
+        IllegalArgumentException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IllegalArgumentException(const char* file, const int lineNumber,
-            const char* msg, ...)
-            : Exception()
-        {
-
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IllegalArgumentException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IllegalArgumentException( const char* file, const int lineNumber,
-                                  const std::exception* cause,
-                                  const char* msg, ... )
-            : Exception( cause )
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IllegalArgumentException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -119,11 +92,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual IllegalArgumentException* clone() const{
-            return new IllegalArgumentException( *this );
+        virtual IllegalArgumentException* clone() const {
+            return new IllegalArgumentException(*this);
         }
 
-        virtual ~IllegalArgumentException() throw() {}
+        virtual ~IllegalArgumentException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "IllegalMonitorStateException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalMonitorStateException::IllegalMonitorStateException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalMonitorStateException::~IllegalMonitorStateException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalMonitorStateException::IllegalMonitorStateException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalMonitorStateException::IllegalMonitorStateException(const IllegalMonitorStateException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalMonitorStateException::IllegalMonitorStateException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalMonitorStateException::IllegalMonitorStateException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalMonitorStateException::IllegalMonitorStateException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalMonitorStateException.h Thu Nov  8 20:20:28 2012
@@ -19,9 +19,9 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an error occurs from calling a method from syncronizable
@@ -29,14 +29,13 @@ namespace exceptions{
      *
      * @since 1.0
      */
-    class DECAF_API IllegalMonitorStateException : public Exception
-    {
+    class DECAF_API IllegalMonitorStateException : public Exception {
     public:
 
         /**
          * Default Constructor
          */
-        IllegalMonitorStateException() {}
+        IllegalMonitorStateException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -44,11 +43,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IllegalMonitorStateException(const Exception& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        IllegalMonitorStateException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -56,11 +51,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IllegalMonitorStateException(const IllegalMonitorStateException& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        IllegalMonitorStateException(const IllegalMonitorStateException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -71,17 +62,7 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IllegalMonitorStateException( const char* file,
-                                      const int lineNumber,
-                                      const char* msg, ...)
-        {
-            va_list vargs;
-            va_start( vargs, msg);
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IllegalMonitorStateException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -93,27 +74,14 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IllegalMonitorStateException( const char* file, const int lineNumber,
-                                      const std::exception* cause,
-                                      const char* msg, ... )
-            : Exception( cause ) {
-
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IllegalMonitorStateException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        IllegalMonitorStateException( const std::exception* cause )
-            : Exception( cause ) {
-        }
+        IllegalMonitorStateException(const std::exception* cause);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -122,11 +90,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual IllegalMonitorStateException* clone() const{
+        virtual IllegalMonitorStateException* clone() const {
             return new IllegalMonitorStateException(*this);
         }
 
-        virtual ~IllegalMonitorStateException() throw() {}
+        virtual ~IllegalMonitorStateException() throw();
 
    };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "IllegalStateException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalStateException::IllegalStateException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalStateException::~IllegalStateException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalStateException::IllegalStateException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalStateException::IllegalStateException(const IllegalStateException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalStateException::IllegalStateException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalStateException::IllegalStateException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalStateException::IllegalStateException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalStateException.h Thu Nov  8 20:20:28 2012
@@ -19,9 +19,9 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an error occurs from calling a method from syncronizable
@@ -29,14 +29,13 @@ namespace exceptions{
      *
      * @since 1.0
      */
-    class DECAF_API IllegalStateException : public Exception
-    {
+    class DECAF_API IllegalStateException : public Exception {
     public:
 
         /**
          * Default Constructor
          */
-        IllegalStateException() {}
+        IllegalStateException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -44,11 +43,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IllegalStateException(const Exception& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        IllegalStateException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -56,62 +51,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IllegalStateException(const IllegalStateException& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        IllegalStateException(const IllegalStateException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
-         * this message occured.  Sets the message to report, using an
+         * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IllegalStateException( const char* file,
-                               const int lineNumber,
-                               const char* msg, ...)
-        : Exception()
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IllegalStateException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IllegalStateException( const char* file, const int lineNumber,
-                               const std::exception* cause,
-                               const char* msg, ... ) : Exception( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IllegalStateException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        IllegalStateException( const std::exception* cause ) : Exception( cause ) {}
+        IllegalStateException(const std::exception* cause);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -120,11 +93,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual IllegalStateException* clone() const{
+        virtual IllegalStateException* clone() const {
             return new IllegalStateException(*this);
         }
 
-        virtual ~IllegalStateException() throw() {}
+        virtual ~IllegalStateException() throw();
 
    };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "IllegalThreadStateException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalThreadStateException::IllegalThreadStateException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalThreadStateException::~IllegalThreadStateException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalThreadStateException::IllegalThreadStateException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalThreadStateException::IllegalThreadStateException(const IllegalThreadStateException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalThreadStateException::IllegalThreadStateException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalThreadStateException::IllegalThreadStateException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IllegalThreadStateException::IllegalThreadStateException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IllegalThreadStateException.h Thu Nov  8 20:20:28 2012
@@ -19,9 +19,9 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an error occurs when a user tries to start a Thread that
@@ -29,14 +29,13 @@ namespace exceptions{
      *
      * @since 1.0
      */
-    class DECAF_API IllegalThreadStateException : public Exception
-    {
+    class DECAF_API IllegalThreadStateException : public Exception {
     public:
 
         /**
          * Default Constructor
          */
-        IllegalThreadStateException() {}
+        IllegalThreadStateException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -44,11 +43,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IllegalThreadStateException(const Exception& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        IllegalThreadStateException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -56,62 +51,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IllegalThreadStateException(const IllegalThreadStateException& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        IllegalThreadStateException(const IllegalThreadStateException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occured.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IllegalThreadStateException( const char* file,
-                               const int lineNumber,
-                               const char* msg, ...)
-        : Exception()
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IllegalThreadStateException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IllegalThreadStateException( const char* file, const int lineNumber,
-                               const std::exception* cause,
-                               const char* msg, ... ) : Exception( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IllegalThreadStateException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        IllegalThreadStateException( const std::exception* cause ) : Exception( cause ) {}
+        IllegalThreadStateException(const std::exception* cause);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -120,11 +93,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual IllegalThreadStateException* clone() const{
+        virtual IllegalThreadStateException* clone() const {
             return new IllegalThreadStateException(*this);
         }
 
-        virtual ~IllegalThreadStateException() throw() {}
+        virtual ~IllegalThreadStateException() throw();
 
    };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "IndexOutOfBoundsException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+IndexOutOfBoundsException::IndexOutOfBoundsException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IndexOutOfBoundsException::~IndexOutOfBoundsException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IndexOutOfBoundsException::IndexOutOfBoundsException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IndexOutOfBoundsException::IndexOutOfBoundsException(const IndexOutOfBoundsException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IndexOutOfBoundsException::IndexOutOfBoundsException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IndexOutOfBoundsException::IndexOutOfBoundsException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+IndexOutOfBoundsException::IndexOutOfBoundsException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/IndexOutOfBoundsException.h Thu Nov  8 20:20:28 2012
@@ -19,9 +19,9 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an illegal argument was passed into a method.
@@ -34,7 +34,7 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        IndexOutOfBoundsException() {}
+        IndexOutOfBoundsException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -42,10 +42,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IndexOutOfBoundsException( const Exception& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        IndexOutOfBoundsException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -53,10 +50,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        IndexOutOfBoundsException( const IndexOutOfBoundsException& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        IndexOutOfBoundsException(const IndexOutOfBoundsException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -67,17 +61,7 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IndexOutOfBoundsException( const char* file, const int lineNumber,
-                                   const char* msg, ...)
-                                   : Exception()
-        {
-            va_list vargs ;
-            va_start(vargs, msg) ;
-            buildMessage(msg, vargs) ;
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IndexOutOfBoundsException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -89,26 +73,14 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        IndexOutOfBoundsException( const char* file, const int lineNumber,
-                                   const std::exception* cause,
-                                   const char* msg, ... )
-        : Exception( cause ) {
-
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        IndexOutOfBoundsException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        IndexOutOfBoundsException( const std::exception* cause )
-        : Exception( cause ) {}
+        IndexOutOfBoundsException(const std::exception* cause);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -117,11 +89,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual IndexOutOfBoundsException* clone() const{
-            return new IndexOutOfBoundsException( *this );
+        virtual IndexOutOfBoundsException* clone() const {
+            return new IndexOutOfBoundsException(*this);
         }
 
-        virtual ~IndexOutOfBoundsException() throw() {}
+        virtual ~IndexOutOfBoundsException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "InterruptedException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedException::InterruptedException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedException::~InterruptedException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedException::InterruptedException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedException::InterruptedException(const InterruptedException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedException::InterruptedException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedException::InterruptedException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InterruptedException::InterruptedException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InterruptedException.h Thu Nov  8 20:20:28 2012
@@ -19,9 +19,9 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an Thread is interrupted during a wait.
@@ -34,7 +34,7 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        InterruptedException() {}
+        InterruptedException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -42,11 +42,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        InterruptedException(const Exception& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        InterruptedException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -54,66 +50,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        InterruptedException(const InterruptedException& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        InterruptedException(const InterruptedException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        InterruptedException( const char* file, const int lineNumber,
-                              const std::exception* cause,
-                              const char* msg, ... )
-            : Exception( cause )
-        {
-
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        InterruptedException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        InterruptedException( const std::exception* cause )
-            : Exception( cause ) {
-        }
+        InterruptedException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        InterruptedException( const char* file,
-                              const int lineNumber,
-                              const char* msg, ... )
-        : Exception()
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        InterruptedException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -122,11 +92,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual InterruptedException* clone() const{
+        virtual InterruptedException* clone() const {
             return new InterruptedException(*this);
         }
 
-        virtual ~InterruptedException() throw() {}
+        virtual ~InterruptedException() throw();
 
    };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "InvalidStateException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidStateException::InvalidStateException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidStateException::~InvalidStateException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidStateException::InvalidStateException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidStateException::InvalidStateException(const InvalidStateException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidStateException::InvalidStateException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidStateException::InvalidStateException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+InvalidStateException::InvalidStateException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/InvalidStateException.h Thu Nov  8 20:20:28 2012
@@ -19,9 +19,9 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an operation is requested, but the state of the object
@@ -29,14 +29,13 @@ namespace exceptions{
      *
      * @since 1.0
      */
-    class DECAF_API InvalidStateException : public Exception
-    {
+    class DECAF_API InvalidStateException : public Exception {
     public:
 
         /**
          * Default Constructor
          */
-        InvalidStateException() {}
+        InvalidStateException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -44,11 +43,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        InvalidStateException(const Exception& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        InvalidStateException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -56,65 +51,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        InvalidStateException( const InvalidStateException& ex )
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        InvalidStateException(const InvalidStateException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        InvalidStateException( const char* file, const int lineNumber,
-                               const std::exception* cause,
-                               const char* msg, ... )
-            : Exception( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        InvalidStateException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        InvalidStateException( const std::exception* cause )
-            : Exception( cause ) {
-        }
+        InvalidStateException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        InvalidStateException( const char* file,
-                               const int lineNumber,
-                               const char* msg, ... )
-        : Exception()
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        InvalidStateException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -123,11 +93,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual InvalidStateException* clone() const{
+        virtual InvalidStateException* clone() const {
             return new InvalidStateException(*this);
         }
 
-        virtual ~InvalidStateException() throw() {}
+        virtual ~InvalidStateException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "NegativeArraySizeException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+NegativeArraySizeException::NegativeArraySizeException() : RuntimeException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NegativeArraySizeException::~NegativeArraySizeException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NegativeArraySizeException::NegativeArraySizeException(const Exception& ex) : RuntimeException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NegativeArraySizeException::NegativeArraySizeException(const NegativeArraySizeException& ex) : RuntimeException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NegativeArraySizeException::NegativeArraySizeException(const std::exception* cause) : RuntimeException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NegativeArraySizeException::NegativeArraySizeException(const char* file, const int lineNumber, const char* msg, ...) : RuntimeException() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NegativeArraySizeException::NegativeArraySizeException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : RuntimeException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NegativeArraySizeException.h Thu Nov  8 20:20:28 2012
@@ -19,9 +19,9 @@
 
 #include <decaf/lang/exceptions/RuntimeException.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown if an application tries to create an array with negative size.
@@ -34,8 +34,7 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        NegativeArraySizeException() : RuntimeException() {
-        }
+        NegativeArraySizeException();
 
         /**
          * Conversion Constructor from some other Decaf Exception
@@ -43,9 +42,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        NegativeArraySizeException(const Exception& ex) : RuntimeException() {
-            *(Exception*) this = ex;
-        }
+        NegativeArraySizeException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -53,56 +50,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        NegativeArraySizeException(const NegativeArraySizeException& ex) : RuntimeException() {
-            *(Exception*) this = ex;
-        }
+        NegativeArraySizeException(const NegativeArraySizeException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        NegativeArraySizeException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : RuntimeException(cause) {
-
-            va_list vargs;
-            va_start(vargs, msg);
-            buildMessage(msg, vargs);
-
-            // Set the first mark for this exception.
-            setMark(file, lineNumber);
-        }
+        NegativeArraySizeException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        NegativeArraySizeException(const std::exception* cause) : RuntimeException(cause) {
-        }
+        NegativeArraySizeException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        NegativeArraySizeException(const char* file, const int lineNumber, const char* msg, ...) : RuntimeException() {
-
-            va_list vargs;
-            va_start(vargs, msg);
-            buildMessage(msg, vargs);
-
-            // Set the first mark for this exception.
-            setMark(file, lineNumber);
-        }
+        NegativeArraySizeException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -115,8 +96,7 @@ namespace exceptions{
             return new NegativeArraySizeException(*this);
         }
 
-        virtual ~NegativeArraySizeException() throw () {
-        }
+        virtual ~NegativeArraySizeException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "NullPointerException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+NullPointerException::NullPointerException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NullPointerException::~NullPointerException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NullPointerException::NullPointerException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NullPointerException::NullPointerException(const NullPointerException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NullPointerException::NullPointerException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NullPointerException::NullPointerException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NullPointerException::NullPointerException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NullPointerException.h Thu Nov  8 20:20:28 2012
@@ -20,23 +20,22 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an error occurs that involves a pointer being NULL
      *
      * @since 1.0
      */
-    class DECAF_API NullPointerException : public Exception
-    {
+    class DECAF_API NullPointerException : public Exception {
     public:
 
         /**
          * Default Constructor
          */
-        NullPointerException() {}
+        NullPointerException();
 
         /**
          * Conversion Constructor from some other Exception.
@@ -44,11 +43,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        NullPointerException( const Exception& ex )
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        NullPointerException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -56,62 +51,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        NullPointerException(const NullPointerException& ex)
-        : Exception()
-        {
-            *(Exception*)this = ex;
-        }
+        NullPointerException(const NullPointerException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        NullPointerException( const char* file, const int lineNumber,
-                              const std::exception* cause,
-                              const char* msg, ... ) : Exception( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        NullPointerException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        NullPointerException( const std::exception* cause ) : Exception( cause ) {}
+        NullPointerException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occured.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        NullPointerException( const char* file,
-                              const int lineNumber,
-                              const char* msg, ... )
-        : Exception()
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        NullPointerException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -120,11 +93,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual NullPointerException* clone() const{
-            return new NullPointerException( *this );
+        virtual NullPointerException* clone() const {
+            return new NullPointerException(*this);
         }
 
-        virtual ~NullPointerException() throw() {}
+        virtual ~NullPointerException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,66 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+#include "NumberFormatException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+NumberFormatException::NumberFormatException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NumberFormatException::~NumberFormatException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NumberFormatException::NumberFormatException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NumberFormatException::NumberFormatException(const NumberFormatException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NumberFormatException::NumberFormatException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NumberFormatException::NumberFormatException(const char* file, const int lineNumber, const char* msg, ...) : Exception() {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NumberFormatException::NumberFormatException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : Exception(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/NumberFormatException.h Thu Nov  8 20:20:28 2012
@@ -20,9 +20,9 @@
 
 #include <decaf/lang/Exception.h>
 
-namespace decaf{
-namespace lang{
-namespace exceptions{
+namespace decaf {
+namespace lang {
+namespace exceptions {
 
     /*
      * Thrown when an error occurs that involves a conversion to a Number from
@@ -36,7 +36,7 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        NumberFormatException() : Exception() {}
+        NumberFormatException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -44,10 +44,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        NumberFormatException( const Exception& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        NumberFormatException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -55,60 +52,40 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        NumberFormatException( const NumberFormatException& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        NumberFormatException(const NumberFormatException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occurred.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param cause The exception that was the cause for this one to be thrown.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        NumberFormatException( const char* file, const int lineNumber,
-                               const std::exception* cause,
-                               const char* msg, ... ) : Exception( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        NumberFormatException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Constructor
+         *
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        NumberFormatException( const std::exception* cause ) : Exception( cause ) {}
+        NumberFormatException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
          * this message occured.  Sets the message to report, using an
          * optional list of arguments to parse into the message
+         *
          * @param file The file name where exception occurs
          * @param lineNumber The line number where the exception occurred.
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        NumberFormatException( const char* file,
-                               const int lineNumber,
-                               const char* msg, ... )
-        : Exception() {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        NumberFormatException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -118,10 +95,10 @@ namespace exceptions{
          * @return an new Exception instance that is a copy of this one.
          */
         virtual NumberFormatException* clone() const {
-            return new NumberFormatException( *this );
+            return new NumberFormatException(*this);
         }
 
-        virtual ~NumberFormatException() throw () {}
+        virtual ~NumberFormatException() throw ();
 
     };
 



Mime
View raw message