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 2012/11/08 21:20:36 UTC

svn commit: r1407255 [3/4] - in /activemq/activemq-cpp/trunk/activemq-cpp/src/main: ./ decaf/io/ decaf/lang/ decaf/lang/exceptions/ decaf/net/ decaf/nio/

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.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 "OutOfMemoryError.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+OutOfMemoryError::OutOfMemoryError() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+OutOfMemoryError::~OutOfMemoryError() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+OutOfMemoryError::OutOfMemoryError(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+OutOfMemoryError::OutOfMemoryError(const OutOfMemoryError& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+OutOfMemoryError::OutOfMemoryError(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+OutOfMemoryError::OutOfMemoryError(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);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+OutOfMemoryError::OutOfMemoryError(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/OutOfMemoryError.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/OutOfMemoryError.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 allocation operation fails indicating not enough memory.
@@ -34,7 +34,7 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        OutOfMemoryError() : Exception() {}
+        OutOfMemoryError();
 
         /**
          * Conversion Constructor from some other Exception
@@ -42,9 +42,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        OutOfMemoryError(const Exception& ex) : Exception() {
-            *(Exception*)this = ex;
-        }
+        OutOfMemoryError(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -52,16 +50,14 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        OutOfMemoryError(const OutOfMemoryError& ex) : Exception() {
-            *(Exception*) this = ex;
-        }
+        OutOfMemoryError(const OutOfMemoryError& ex);
 
         /**
          * Constructor
          * @param cause Pointer to the exception that caused this one to
          * be thrown, the object is cloned caller retains ownership.
          */
-        OutOfMemoryError(const std::exception* cause) : Exception( cause ) {}
+        OutOfMemoryError(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -72,16 +68,7 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        OutOfMemoryError(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);
-        }
+        OutOfMemoryError(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -93,17 +80,7 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        OutOfMemoryError(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);
-        }
+        OutOfMemoryError(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -112,11 +89,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual OutOfMemoryError* clone() const{
-            return new OutOfMemoryError( *this );
+        virtual OutOfMemoryError* clone() const {
+            return new OutOfMemoryError(*this);
         }
 
-        virtual ~OutOfMemoryError() throw() {}
+        virtual ~OutOfMemoryError() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.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 "RuntimeException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+RuntimeException::RuntimeException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+RuntimeException::~RuntimeException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+RuntimeException::RuntimeException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+RuntimeException::RuntimeException(const RuntimeException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+RuntimeException::RuntimeException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+RuntimeException::RuntimeException(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);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+RuntimeException::RuntimeException(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/RuntimeException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/RuntimeException.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 that involves something in the run time
@@ -36,7 +36,7 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        RuntimeException() {}
+        RuntimeException();
 
         /**
          * Conversion Constructor from some other ActiveMQException
@@ -44,10 +44,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        RuntimeException( const Exception& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        RuntimeException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -55,10 +52,7 @@ namespace exceptions{
          * @param ex
          *      The Exception whose data is to be copied into this one.
          */
-        RuntimeException( const RuntimeException& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        RuntimeException(const RuntimeException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -70,24 +64,14 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        RuntimeException( 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 );
-        }
+        RuntimeException(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.
          */
-        RuntimeException( const std::exception* cause ) : Exception( cause ) {}
+        RuntimeException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -98,18 +82,7 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        RuntimeException( 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 );
-        }
+        RuntimeException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -118,11 +91,11 @@ namespace exceptions{
          *
          * @return an new Exception that is a copy of this one.
          */
-        virtual RuntimeException* clone() const{
-            return new RuntimeException( *this );
+        virtual RuntimeException* clone() const {
+            return new RuntimeException(*this);
         }
 
-        virtual ~RuntimeException() throw() {}
+        virtual ~RuntimeException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.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 "UnsupportedOperationException.h"
+
+using namespace decaf;
+using namespace decaf::lang;
+using namespace decaf::lang::exceptions;
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedOperationException::UnsupportedOperationException() : Exception() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedOperationException::~UnsupportedOperationException() throw () {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedOperationException::UnsupportedOperationException(const Exception& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedOperationException::UnsupportedOperationException(const UnsupportedOperationException& ex) : Exception() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedOperationException::UnsupportedOperationException(const std::exception* cause) : Exception(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedOperationException::UnsupportedOperationException(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);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+UnsupportedOperationException::UnsupportedOperationException(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/UnsupportedOperationException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/lang/exceptions/UnsupportedOperationException.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 unsupported method is called or an operation cannot be performed
@@ -35,25 +35,19 @@ namespace exceptions{
         /**
          * Default Constructor
          */
-        UnsupportedOperationException() {}
+        UnsupportedOperationException();
 
         /**
          * Conversion Constructor from some other Exception
          * @param ex An exception that should become this type of Exception
          */
-        UnsupportedOperationException( const Exception& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        UnsupportedOperationException(const Exception& ex);
 
         /**
          * Copy Constructor
          * @param ex An exception that should become this type of Exception
          */
-        UnsupportedOperationException( const UnsupportedOperationException& ex )
-        : Exception() {
-            *(Exception*)this = ex;
-        }
+        UnsupportedOperationException(const UnsupportedOperationException& ex);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -65,25 +59,14 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        UnsupportedOperationException( 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 );
-        }
+        UnsupportedOperationException(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.
          */
-        UnsupportedOperationException( const std::exception* cause )
-            : Exception( cause ) {}
+        UnsupportedOperationException(const std::exception* cause);
 
         /**
          * Constructor - Initializes the file name and line number where
@@ -94,18 +77,7 @@ namespace exceptions{
          * @param msg The message to report
          * @param ... list of primitives that are formatted into the message
          */
-        UnsupportedOperationException( 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 );
-        }
+        UnsupportedOperationException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -114,11 +86,11 @@ namespace exceptions{
          *
          * @return an new Exception instance that is a copy of this one.
          */
-        virtual UnsupportedOperationException* clone() const{
-            return new UnsupportedOperationException( *this );
+        virtual UnsupportedOperationException* clone() const {
+            return new UnsupportedOperationException(*this);
         }
 
-        virtual ~UnsupportedOperationException() throw() {}
+        virtual ~UnsupportedOperationException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.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 "BindException.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+BindException::BindException() : SocketException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+BindException::~BindException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+BindException::BindException(const Exception& ex) : SocketException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+BindException::BindException(const BindException& ex) : SocketException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+BindException::BindException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : SocketException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+BindException::BindException(const std::exception* cause) : SocketException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+BindException::BindException(const char* file, const int lineNumber, const char* msg, ...) : SocketException() {
+
+    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/net/BindException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/BindException.h Thu Nov  8 20:20:28 2012
@@ -30,7 +30,7 @@ namespace net{
         /**
          * Default Constructor
          */
-        BindException() {}
+        BindException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -38,11 +38,7 @@ namespace net{
          * @param ex
          *      An exception that should become this type of Exception
          */
-        BindException( const Exception& ex )
-        : SocketException()
-        {
-            *(Exception*)this = ex;
-        }
+        BindException(const Exception& ex);
 
         /**
          * Copy Constructor
@@ -50,63 +46,40 @@ namespace net{
          * @param ex
          *      An exception that should become this type of Exception
          */
-        BindException( const BindException& ex )
-        : SocketException()
-        {
-            *(Exception*)this = ex;
-        }
+        BindException(const BindException& 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
          */
-        BindException( const char* file, const int lineNumber,
-                       const std::exception* cause,
-                       const char* msg, ... )
-        : SocketException( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        BindException(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.
          */
-        BindException( const std::exception* cause )
-            : SocketException( cause ) {}
+        BindException(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
          */
-        BindException( const char* file, const int lineNumber,
-                       const char* msg, ... )
-        : SocketException()
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        BindException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -116,10 +89,10 @@ namespace net{
          * @return a new Exception instance that is a copy of this Exception object.
          */
         virtual BindException* clone() const {
-            return new BindException( *this );
+            return new BindException(*this);
         }
 
-        virtual ~BindException() throw() {}
+        virtual ~BindException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.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 "ConnectException.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectException::ConnectException() : SocketException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectException::~ConnectException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectException::ConnectException(const Exception& ex) : SocketException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectException::ConnectException(const ConnectException& ex) : SocketException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectException::ConnectException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : SocketException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectException::ConnectException(const std::exception* cause) : SocketException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ConnectException::ConnectException(const char* file, const int lineNumber, const char* msg, ...) : SocketException() {
+
+    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/net/ConnectException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ConnectException.h Thu Nov  8 20:20:28 2012
@@ -21,8 +21,8 @@
 #include <decaf/util/Config.h>
 #include <decaf/net/SocketException.h>
 
-namespace decaf{
-namespace net{
+namespace decaf {
+namespace net {
 
     class DECAF_API ConnectException : public SocketException {
     public:
@@ -30,7 +30,7 @@ namespace net{
         /**
          * Default Constructor
          */
-        ConnectException() {}
+        ConnectException();
 
         /**
          * Conversion Constructor from some other Exception
@@ -38,74 +38,47 @@ namespace net{
          * @param ex
          *      An exception that should become this type of Exception
          */
-        ConnectException( const Exception& ex )
-        : SocketException()
-        {
-            *(Exception*)this = ex;
-        }
+        ConnectException(const Exception& ex);
 
         /**
          * Copy Constructor
          *
          * @param ex An exception that should become this type of Exception
          */
-        ConnectException( const ConnectException& ex )
-        : SocketException()
-        {
-            *(Exception*)this = ex;
-        }
+        ConnectException(const ConnectException& 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
          */
-        ConnectException( const char* file, const int lineNumber,
-                          const std::exception* cause,
-                          const char* msg, ... )
-        : SocketException( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        ConnectException(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.
          */
-        ConnectException( const std::exception* cause )
-            : SocketException( cause ) {}
+        ConnectException(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
          */
-        ConnectException( const char* file, const int lineNumber,
-                          const char* msg, ... )
-        : SocketException()
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        ConnectException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -115,10 +88,10 @@ namespace net{
          * @return a new Exception instance that is a copy of this Exception object.
          */
         virtual ConnectException* clone() const {
-            return new ConnectException( *this );
+            return new ConnectException(*this);
         }
 
-        virtual ~ConnectException() throw() {}
+        virtual ~ConnectException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.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 "HttpRetryException.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+HttpRetryException::HttpRetryException() : io::IOException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+HttpRetryException::~HttpRetryException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+HttpRetryException::HttpRetryException(const Exception& ex) : io::IOException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+HttpRetryException::HttpRetryException(const HttpRetryException& ex) : io::IOException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+HttpRetryException::HttpRetryException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : io::IOException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+HttpRetryException::HttpRetryException(const std::exception* cause) : io::IOException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+HttpRetryException::HttpRetryException(const char* file, const int lineNumber, const char* msg, ...) : io::IOException() {
+
+    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/net/HttpRetryException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/HttpRetryException.h Thu Nov  8 20:20:28 2012
@@ -21,8 +21,8 @@
 #include <decaf/util/Config.h>
 #include <decaf/io/IOException.h>
 
-namespace decaf{
-namespace net{
+namespace decaf {
+namespace net {
 
     class DECAF_API HttpRetryException : public io::IOException {
     public:
@@ -30,79 +30,54 @@ namespace net{
         /**
          * Default Constructor
          */
-        HttpRetryException() {}
+        HttpRetryException();
 
         /**
          * Conversion Constructor from some other Exception
+         *
          * @param ex An exception that should become this type of Exception
          */
-        HttpRetryException( const Exception& ex )
-        : io::IOException()
-        {
-            *(Exception*)this = ex;
-        }
+        HttpRetryException(const Exception& ex);
 
         /**
          * Copy Constructor
+         *
          * @param ex An exception that should become this type of Exception
          */
-        HttpRetryException( const HttpRetryException& ex )
-        : io::IOException()
-        {
-            *(Exception*)this = ex;
-        }
+        HttpRetryException(const HttpRetryException& 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
          */
-        HttpRetryException( const char* file, const int lineNumber,
-                            const std::exception* cause,
-                            const char* msg, ... )
-        : io::IOException( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        HttpRetryException(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.
          */
-        HttpRetryException( const std::exception* cause )
-            : io::IOException( cause ) {}
+        HttpRetryException(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
          */
-        HttpRetryException( const char* file, const int lineNumber,
-                            const char* msg, ... )
-        : io::IOException()
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        HttpRetryException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -112,10 +87,10 @@ namespace net{
          * @return a new Exception instance that is a copy of this Exception object.
          */
         virtual HttpRetryException* clone() const {
-            return new HttpRetryException( *this );
+            return new HttpRetryException(*this);
         }
 
-        virtual ~HttpRetryException() throw() {}
+        virtual ~HttpRetryException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.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 "MalformedURLException.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+MalformedURLException::MalformedURLException() : io::IOException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MalformedURLException::~MalformedURLException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MalformedURLException::MalformedURLException(const Exception& ex) : io::IOException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MalformedURLException::MalformedURLException(const MalformedURLException& ex) : io::IOException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MalformedURLException::MalformedURLException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : io::IOException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MalformedURLException::MalformedURLException(const std::exception* cause) : io::IOException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+MalformedURLException::MalformedURLException(const char* file, const int lineNumber, const char* msg, ...) : io::IOException() {
+
+    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/net/MalformedURLException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/MalformedURLException.h Thu Nov  8 20:20:28 2012
@@ -21,8 +21,8 @@
 #include <decaf/util/Config.h>
 #include <decaf/io/IOException.h>
 
-namespace decaf{
-namespace net{
+namespace decaf {
+namespace net {
 
     class DECAF_API MalformedURLException  : public io::IOException {
     public:
@@ -30,79 +30,54 @@ namespace net{
         /**
          * Default Constructor
          */
-        MalformedURLException() {}
+        MalformedURLException();
 
         /**
          * Conversion Constructor from some other Exception
+         *
          * @param ex An exception that should become this type of Exception
          */
-        MalformedURLException( const Exception& ex )
-        : io::IOException()
-        {
-            *(Exception*)this = ex;
-        }
+        MalformedURLException(const Exception& ex);
 
         /**
          * Copy Constructor
+         *
          * @param ex An exception that should become this type of Exception
          */
-        MalformedURLException( const MalformedURLException& ex )
-        : io::IOException()
-        {
-            *(Exception*)this = ex;
-        }
+        MalformedURLException(const MalformedURLException& 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
          */
-        MalformedURLException( const char* file, const int lineNumber,
-                               const std::exception* cause,
-                               const char* msg, ... )
-        : io::IOException( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        MalformedURLException(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.
          */
-        MalformedURLException( const std::exception* cause )
-            : io::IOException( cause ) {}
+        MalformedURLException(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
          */
-        MalformedURLException( const char* file, const int lineNumber,
-                               const char* msg, ... )
-        : io::IOException()
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        MalformedURLException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -112,10 +87,10 @@ namespace net{
          * @return a new Exception instance that is a copy of this Exception object.
          */
         virtual MalformedURLException* clone() const {
-            return new MalformedURLException( *this );
+            return new MalformedURLException(*this);
         }
 
-        virtual ~MalformedURLException() throw() {}
+        virtual ~MalformedURLException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.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 "NoRouteToHostException.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+NoRouteToHostException::NoRouteToHostException() : SocketException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NoRouteToHostException::~NoRouteToHostException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NoRouteToHostException::NoRouteToHostException(const Exception& ex) : SocketException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NoRouteToHostException::NoRouteToHostException(const NoRouteToHostException& ex) : SocketException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NoRouteToHostException::NoRouteToHostException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : SocketException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NoRouteToHostException::NoRouteToHostException(const std::exception* cause) : SocketException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+NoRouteToHostException::NoRouteToHostException(const char* file, const int lineNumber, const char* msg, ...) : SocketException() {
+
+    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/net/NoRouteToHostException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/NoRouteToHostException.h Thu Nov  8 20:20:28 2012
@@ -21,8 +21,8 @@
 #include <decaf/util/Config.h>
 #include <decaf/net/SocketException.h>
 
-namespace decaf{
-namespace net{
+namespace decaf {
+namespace net {
 
     class DECAF_API NoRouteToHostException : public SocketException {
     public:
@@ -30,79 +30,54 @@ namespace net{
         /**
          * Default Constructor
          */
-        NoRouteToHostException() {}
+        NoRouteToHostException();
 
         /**
          * Conversion Constructor from some other Exception
+         *
          * @param ex An exception that should become this type of Exception
          */
-        NoRouteToHostException( const Exception& ex )
-        : SocketException()
-        {
-            *(Exception*)this = ex;
-        }
+        NoRouteToHostException(const Exception& ex);
 
         /**
          * Copy Constructor
+         *
          * @param ex An exception that should become this type of Exception
          */
-        NoRouteToHostException( const NoRouteToHostException& ex )
-        : SocketException()
-        {
-            *(Exception*)this = ex;
-        }
+        NoRouteToHostException(const NoRouteToHostException& 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
          */
-        NoRouteToHostException( const char* file, const int lineNumber,
-                               const std::exception* cause,
-                               const char* msg, ... )
-        : SocketException( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        NoRouteToHostException(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.
          */
-        NoRouteToHostException( const std::exception* cause )
-            : SocketException( cause ) {}
+        NoRouteToHostException(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
          */
-        NoRouteToHostException( const char* file, const int lineNumber,
-                                const char* msg, ... )
-        : SocketException()
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        NoRouteToHostException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -112,10 +87,10 @@ namespace net{
          * @return a new Exception instance that is a copy of this Exception object.
          */
         virtual NoRouteToHostException* clone() const {
-            return new NoRouteToHostException( *this );
+            return new NoRouteToHostException(*this);
         }
 
-        virtual ~NoRouteToHostException() throw() {}
+        virtual ~NoRouteToHostException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.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 "PortUnreachableException.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+PortUnreachableException::PortUnreachableException() : SocketException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+PortUnreachableException::~PortUnreachableException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+PortUnreachableException::PortUnreachableException(const Exception& ex) : SocketException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+PortUnreachableException::PortUnreachableException(const PortUnreachableException& ex) : SocketException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+PortUnreachableException::PortUnreachableException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : SocketException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+PortUnreachableException::PortUnreachableException(const std::exception* cause) : SocketException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+PortUnreachableException::PortUnreachableException(const char* file, const int lineNumber, const char* msg, ...) : SocketException() {
+
+    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/net/PortUnreachableException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/PortUnreachableException.h Thu Nov  8 20:20:28 2012
@@ -21,8 +21,8 @@
 #include <decaf/util/Config.h>
 #include <decaf/net/SocketException.h>
 
-namespace decaf{
-namespace net{
+namespace decaf {
+namespace net {
 
     class DECAF_API PortUnreachableException : public SocketException {
     public:
@@ -30,79 +30,54 @@ namespace net{
         /**
          * Default Constructor
          */
-        PortUnreachableException() {}
+        PortUnreachableException();
 
         /**
          * Conversion Constructor from some other Exception
+         *
          * @param ex An exception that should become this type of Exception
          */
-        PortUnreachableException( const Exception& ex )
-        : SocketException()
-        {
-            *(Exception*)this = ex;
-        }
+        PortUnreachableException(const Exception& ex);
 
         /**
          * Copy Constructor
+         *
          * @param ex An exception that should become this type of Exception
          */
-        PortUnreachableException( const PortUnreachableException& ex )
-        : SocketException()
-        {
-            *(Exception*)this = ex;
-        }
+        PortUnreachableException(const PortUnreachableException& 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
          */
-        PortUnreachableException( const char* file, const int lineNumber,
-                                  const std::exception* cause,
-                                  const char* msg, ... )
-        : SocketException( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        PortUnreachableException(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.
          */
-        PortUnreachableException( const std::exception* cause )
-            : SocketException( cause ) {}
+        PortUnreachableException(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
          */
-        PortUnreachableException( const char* file, const int lineNumber,
-                            const char* msg, ... )
-        : SocketException()
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        PortUnreachableException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -112,10 +87,10 @@ namespace net{
          * @return a new Exception instance that is a copy of this Exception object.
          */
         virtual PortUnreachableException* clone() const {
-            return new PortUnreachableException( *this );
+            return new PortUnreachableException(*this);
         }
 
-        virtual ~PortUnreachableException() throw() {}
+        virtual ~PortUnreachableException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.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 "ProtocolException.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+ProtocolException::ProtocolException() : io::IOException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ProtocolException::~ProtocolException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ProtocolException::ProtocolException(const Exception& ex) : io::IOException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ProtocolException::ProtocolException(const ProtocolException& ex) : io::IOException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ProtocolException::ProtocolException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : io::IOException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ProtocolException::ProtocolException(const std::exception* cause) : io::IOException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+ProtocolException::ProtocolException(const char* file, const int lineNumber, const char* msg, ...) : io::IOException() {
+
+    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/net/ProtocolException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/ProtocolException.h Thu Nov  8 20:20:28 2012
@@ -21,8 +21,8 @@
 #include <decaf/util/Config.h>
 #include <decaf/io/IOException.h>
 
-namespace decaf{
-namespace net{
+namespace decaf {
+namespace net {
 
     class DECAF_API ProtocolException : public io::IOException {
     public:
@@ -30,78 +30,54 @@ namespace net{
         /**
          * Default Constructor
          */
-        ProtocolException() {}
+        ProtocolException();
 
         /**
          * Conversion Constructor from some other Exception
+         *
          * @param ex An exception that should become this type of Exception
          */
-        ProtocolException( const Exception& ex ) : io::IOException()
-        {
-            *(Exception*)this = ex;
-        }
+        ProtocolException(const Exception& ex);
 
         /**
          * Copy Constructor
+         *
          * @param ex An exception that should become this type of Exception
          */
-        ProtocolException( const ProtocolException& ex )
-        : io::IOException()
-        {
-            *(Exception*)this = ex;
-        }
+        ProtocolException(const ProtocolException& 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
          */
-        ProtocolException( const char* file, const int lineNumber,
-                           const std::exception* cause,
-                           const char* msg, ... )
-        : io::IOException( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        ProtocolException(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.
          */
-        ProtocolException( const std::exception* cause )
-            : io::IOException( cause ) {}
+        ProtocolException(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
          */
-        ProtocolException( const char* file, const int lineNumber,
-                            const char* msg, ... )
-        : io::IOException()
-        {
-            va_list vargs ;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        ProtocolException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -111,10 +87,10 @@ namespace net{
          * @return a new Exception instance that is a copy of this Exception object.
          */
         virtual ProtocolException* clone() const {
-            return new ProtocolException( *this );
+            return new ProtocolException(*this);
         }
 
-        virtual ~ProtocolException() throw() {}
+        virtual ~ProtocolException() throw();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.cpp Thu Nov  8 20:20:28 2012
@@ -0,0 +1,26 @@
+/*
+ * 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 "SocketAddress.h"
+
+using namespace decaf;
+using namespace decaf::net;
+
+////////////////////////////////////////////////////////////////////////////////
+SocketAddress::~SocketAddress() {
+
+}

Propchange: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketAddress.h Thu Nov  8 20:20:28 2012
@@ -32,7 +32,7 @@ namespace net {
     class DECAF_API SocketAddress {
     public:
 
-        virtual ~SocketAddress() {}
+        virtual ~SocketAddress();
 
     };
 

Added: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.cpp?rev=1407255&view=auto
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.cpp (added)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.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 "SocketException.h"
+
+using namespace decaf;
+using namespace decaf::net;
+using namespace decaf::lang;
+
+////////////////////////////////////////////////////////////////////////////////
+SocketException::SocketException() : io::IOException() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SocketException::~SocketException() throw() {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SocketException::SocketException(const Exception& ex) : io::IOException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SocketException::SocketException(const SocketException& ex) : io::IOException() {
+    *(Exception*) this = ex;
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SocketException::SocketException(const char* file, const int lineNumber, const std::exception* cause, const char* msg, ...) : io::IOException(cause) {
+
+    va_list vargs;
+    va_start(vargs, msg);
+    buildMessage(msg, vargs);
+
+    // Set the first mark for this exception.
+    setMark(file, lineNumber);
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SocketException::SocketException(const std::exception* cause) : io::IOException(cause) {
+}
+
+////////////////////////////////////////////////////////////////////////////////
+SocketException::SocketException(const char* file, const int lineNumber, const char* msg, ...) : io::IOException() {
+
+    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/net/SocketException.cpp
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.h
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.h?rev=1407255&r1=1407254&r2=1407255&view=diff
==============================================================================
--- activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.h (original)
+++ activemq/activemq-cpp/trunk/activemq-cpp/src/main/decaf/net/SocketException.h Thu Nov  8 20:20:28 2012
@@ -19,78 +19,53 @@
 
 #include <decaf/io/IOException.h>
 
-namespace decaf{
-namespace net{
+namespace decaf {
+namespace net {
 
     /**
      * Exception for errors when manipulating sockets.
      */
-    class DECAF_API SocketException : public io::IOException
-    {
+    class DECAF_API SocketException : public io::IOException {
     public:
 
-        SocketException() {}
+        SocketException();
 
-        SocketException( const lang::Exception& ex )
-        : io::IOException() {
-            *(lang::Exception*)this = ex;
-        }
+        SocketException(const lang::Exception& ex);
 
-        SocketException( const SocketException& ex )
-        : io::IOException() {
-            *(lang::Exception*)this = ex;
-        }
+        SocketException(const SocketException& 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
          */
-        SocketException( const char* file, const int lineNumber,
-                         const std::exception* cause,
-                         const char* msg, ... )
-        : io::IOException( cause )
-        {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        SocketException(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.
          */
-        SocketException( const std::exception* cause )
-        : io::IOException( cause ) {}
+        SocketException(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
          */
-        SocketException( const char* file, const int lineNumber,
-                         const char* msg, ...)
-        : io::IOException() {
-            va_list vargs;
-            va_start( vargs, msg );
-            buildMessage( msg, vargs );
-
-            // Set the first mark for this exception.
-            setMark( file, lineNumber );
-        }
+        SocketException(const char* file, const int lineNumber, const char* msg, ...);
 
         /**
          * Clones this exception.  This is useful for cases where you need
@@ -100,10 +75,10 @@ namespace net{
          * @return a new Exception instance that is a copy of this Exception object.
          */
         virtual SocketException* clone() const {
-            return new SocketException( *this );
+            return new SocketException(*this);
         }
 
-        virtual ~SocketException() throw() {}
+        virtual ~SocketException() throw();
 
     };