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/08/11 18:39:52 UTC

svn commit: r564936 - /activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp

Author: tabish
Date: Sat Aug 11 09:39:51 2007
New Revision: 564936

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

Adding in more Types wrappers

Modified:
    activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp

Modified: activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp
URL: http://svn.apache.org/viewvc/activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp?view=diff&rev=564936&r1=564935&r2=564936
==============================================================================
--- activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp (original)
+++ activemq/activemq-cpp/trunk/src/decaf/src/main/decaf/internal/util/FloatingPointParser.cpp Sat Aug 11 09:39:51 2007
@@ -434,14 +434,16 @@
         throw exceptions::NumberFormatException(
             __FILE__, __LINE__,
             "FloatingPointParser::parseFloat - "
-            "invalid length string", value.c_str() );
+            "invalid float value string, out of range",
+            value.c_str() );
     }
 
     if( endptr == value.c_str() ) {
         throw exceptions::NumberFormatException(
             __FILE__, __LINE__,
             "FloatingPointParser::parseFloat - "
-            "invalid length string", value.c_str() );
+            "invalid numeric formatted string",
+            value.c_str() );
     }
 
     return result;