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 2007/11/13 02:08:05 UTC

svn commit: r594378 - in /activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio: BufferOverflowException.h BufferOverlflowException.h

Author: tabish
Date: Mon Nov 12 17:08:03 2007
New Revision: 594378

URL: http://svn.apache.org/viewvc?rev=594378&view=rev
Log:
http://issues.apache.org/activemq/browse/AMQCPP-103

Working on the NIO package

Added:
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverflowException.h
      - copied, changed from r594365, activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverlflowException.h
Removed:
    activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverlflowException.h

Copied: activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverflowException.h (from r594365, activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverlflowException.h)
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverflowException.h?p2=activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverflowException.h&p1=activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverlflowException.h&r1=594365&r2=594378&rev=594378&view=diff
==============================================================================
--- activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverlflowException.h (original)
+++ activemq/activemq-cpp/decaf/trunk/src/main/decaf/nio/BufferOverflowException.h Mon Nov 12 17:08:03 2007
@@ -15,8 +15,8 @@
  * limitations under the License.
  */
 
-#ifndef _DECAF_NIO_BUFFEROVERLFLOWEXCEPTION_H_
-#define _DECAF_NIO_BUFFEROVERLFLOWEXCEPTION_H_
+#ifndef _DECAF_NIO_BUFFEROVERFLOWEXCEPTION_H_
+#define _DECAF_NIO_BUFFEROVERFLOWEXCEPTION_H_
 
 #include <decaf/util/Config.h>
 #include <decaf/lang/Exception.h>
@@ -24,19 +24,19 @@
 namespace decaf{
 namespace nio{
 
-    class DECAF_API BufferOverlflowException : public lang::Exception {
+    class DECAF_API BufferOverflowException : public lang::Exception {
     public:
 
         /**
          * Default Constructor
          */
-        BufferOverlflowException() throw() {}
+        BufferOverflowException() throw() {}
 
         /**
          * Copy Constructor
          * @param ex the exception to copy
          */
-        BufferOverlflowException( const lang::Exception& ex ) throw()
+        BufferOverflowException( const lang::Exception& ex ) throw()
         : lang::Exception() {
             *(lang::Exception*)this = ex;
         }
@@ -45,7 +45,7 @@
          * Copy Constructor
          * @param ex the exception to copy, which is an instance of this type
          */
-        BufferOverlflowException( const BufferOverlflowException& ex ) throw()
+        BufferOverflowException( const BufferOverflowException& ex ) throw()
         : lang::Exception() {
             *(lang::Exception*)this = ex;
         }
@@ -56,8 +56,8 @@
          * @param lineNumber line where the exception occured
          * @param msg the message that was generated
          */
-        BufferOverlflowException( const char* file, const int lineNumber,
-                                  const char* msg, ... ) throw()
+        BufferOverflowException( const char* file, const int lineNumber,
+                                 const char* msg, ... ) throw()
         : lang::Exception() {
 
             va_list vargs;
@@ -73,14 +73,14 @@
          * to preserve the type of the original exception as well as the message.
          * All subclasses should override.
          */
-        virtual BufferOverlflowException* clone() const {
-            return new BufferOverlflowException( *this );
+        virtual BufferOverflowException* clone() const {
+            return new BufferOverflowException( *this );
         }
 
-        virtual ~BufferOverlflowException() throw() {}
+        virtual ~BufferOverflowException() throw() {}
 
     };
 
 }}
 
-#endif /*_DECAF_NIO_BUFFEROVERLFLOWEXCEPTION_H_*/
+#endif /*_DECAF_NIO_BUFFEROVERFLOWEXCEPTION_H_*/