[fdo-commits] r656 - trunk/Utilities/SchemaMgr/Src/Sm
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Tue Jan 23 18:36:23 EST 2007
Author: thomasknoell
Date: 2007-01-23 18:36:23 -0500 (Tue, 23 Jan 2007)
New Revision: 656
Modified:
trunk/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 (port to trunk).
Modified: trunk/Utilities/SchemaMgr/Src/Sm/SchemaManager.cpp
===================================================================
--- trunk/Utilities/SchemaMgr/Src/Sm/SchemaManager.cpp 2007-01-23 23:35:39 UTC (rev 655)
+++ trunk/Utilities/SchemaMgr/Src/Sm/SchemaManager.cpp 2007-01-23 23:36:23 UTC (rev 656)
@@ -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