[fdo-commits] r670 - trunk/Utilities/SchemaMgr/Src/Sm/Lp
svn_fdo at osgeo.org
svn_fdo at osgeo.org
Wed Jan 24 17:26:13 EST 2007
Author: thomasknoell
Date: 2007-01-24 17:26:13 -0500 (Wed, 24 Jan 2007)
New Revision: 670
Modified:
trunk/Utilities/SchemaMgr/Src/Sm/Lp/ClassDefinition.cpp
Log:
With this code drop, the Schema Manager issues a specific exception if an attempt is made to add a raster property to a class definition in a provider not supporting raster properties (port to the trunk).
Modified: trunk/Utilities/SchemaMgr/Src/Sm/Lp/ClassDefinition.cpp
===================================================================
--- trunk/Utilities/SchemaMgr/Src/Sm/Lp/ClassDefinition.cpp 2007-01-24 22:25:24 UTC (rev 669)
+++ trunk/Utilities/SchemaMgr/Src/Sm/Lp/ClassDefinition.cpp 2007-01-24 22:26:13 UTC (rev 670)
@@ -3542,6 +3542,14 @@
this
);
break;
+
+ case FdoPropertyType_RasterProperty:
+ throw FdoSchemaException::Create(FdoSmError::NLSGetMessage(FDO_NLSID(FDOSM_421)));
+ break;
+
+ default:
+ throw FdoSchemaException::Create(FdoSmError::NLSGetMessage(FDO_NLSID(FDOSM_422)));
+ break;
}
lpProp->Update( pFdoProp, elementState, pClassOverrides, bIgnoreStates );
More information about the fdo-commits
mailing list