]> Creatis software - bbtk.git/commitdiff
Fixed SplitAroundFirstDot which did not throw on error
authorguigues <guigues>
Wed, 26 Nov 2008 12:49:57 +0000 (12:49 +0000)
committerguigues <guigues>
Wed, 26 Nov 2008 12:49:57 +0000 (12:49 +0000)
kernel/src/bbtkUtilities.cxx

index b0eda99f67cbd9db5739e83436edf08c74be4660..dafd6ceb9f13f41c652aa526f19e32b78b0a7fa7 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkUtilities.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/11/12 12:47:01 $
-  Version:   $Revision: 1.8 $
+  Date:      $Date: 2008/11/26 12:49:57 $
+  Version:   $Revision: 1.9 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -30,6 +30,7 @@
 
 
 #include "bbtkUtilities.h"
+#include "bbtkMessageManager.h"
 
  
 
@@ -366,9 +367,9 @@ namespace bbtk
        }
       else
        {
-         // bbtkError(in<<" : expected 'a.b' format but no dot found");
          left ="";
          right = "";
+         bbtkGlobalError("Token '"<<in<<"' : expected 'a.b' format but no dot found");
        }
     }
     //=======================================================================