Class ModelLoadException
Exception class that captures information about errors during the creation of a code factory model.
Inherited Members
Namespace: CodeFactory
Assembly: CodeFactory.dll
Syntax
public class ModelLoadException : CodeFactoryException, ISerializable, _Exception
Constructors
| Improve this Doc View SourceModelLoadException(string, Exception, string)
Creates a model load exception.
Declaration
public ModelLoadException(string message, Exception innerException, string modelType = null)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message to be captured by the exception |
Exception | innerException | The inner exception that occurred and to be added to this exception. |
string | modelType | Optional parameter that stores the name of the target model type. |
ModelLoadException(string, string)
Creates a model load exception.
Declaration
public ModelLoadException(string message, string modelType = null)
Parameters
Type | Name | Description |
---|---|---|
string | message | The error message to be captured by the exception |
string | modelType | Optional parameter that stores the name of the target model type. |
ModelLoadException(string)
Creates a model load exception.
Declaration
public ModelLoadException(string modelType = null)
Parameters
Type | Name | Description |
---|---|---|
string | modelType | Optional parameter that stores the name of the target model type. |