SiteImportSettingsHandleObjectTypeClassNotFound Method |
Handles DataClassNotFoundException. Logs warning if missing data class belongs to the object type that is not imported
by the currently installed module. Returns the message that was logged or empty string.
Namespace: CMS.CMSImportExportAssembly: CMS.ImportExport (in CMS.ImportExport.dll) Version: 12.0.0
Syntaxpublic string HandleObjectTypeClassNotFound(
string objectType,
DataClassNotFoundException ex
)
Parameters
- objectType
- Type: SystemString
Object type that caused the exception. - ex
- Type: CMS.DataEngineDataClassNotFoundException
Exception that is handled.
Return Value
Type:
StringReturns the message that was logged or empty string.
See Also