[fdo-commits] r654 - branches/3.2.x/Utilities/SchemaMgr/Src/Sm

svn_fdo at osgeo.org svn_fdo at osgeo.org
Tue Jan 23 18:33:40 EST 2007


Author: thomasknoell
Date: 2007-01-23 18:33:40 -0500 (Tue, 23 Jan 2007)
New Revision: 654

Modified:
   branches/3.2.x/Utilities/SchemaMgr/Src/Sm/SchemaManager.cpp
Log:
Issues a more specific exception message in case a new spatial context is to be created with the UpdateExisting flag being set.

Modified: branches/3.2.x/Utilities/SchemaMgr/Src/Sm/SchemaManager.cpp
===================================================================
--- branches/3.2.x/Utilities/SchemaMgr/Src/Sm/SchemaManager.cpp	2007-01-23 23:32:06 UTC (rev 653)
+++ branches/3.2.x/Utilities/SchemaMgr/Src/Sm/SchemaManager.cpp	2007-01-23 23:33:40 UTC (rev 654)
@@ -360,6 +360,11 @@
             );
         }
     }
+    else {
+        if (update)
+            throw FdoSchemaException::Create(FdoSmError::NLSGetMessage(
+				FDO_NLSID(FDOSM_420), name ));
+    }
 
 	if ( !update ) {
 		sc = scs->CreateSpatialContext(



More information about the fdo-commits mailing list