CodeFactory for Windows CodeFactory for Windows
CodeFactory for Windows CodeFactory for Windows
CodeFactory

Search Results for

    Class ModelException<TModelTypes>

    Exception class that is designed to capture exception information during the creation of a model.

    Inheritance
    object
    Exception
    CodeFactoryException
    ModelException<TModelTypes>
    Implements
    ISerializable
    Inherited Members
    Exception.GetBaseException()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.ToString()
    Exception.Data
    Exception.HelpLink
    Exception.HResult
    Exception.InnerException
    Exception.Message
    Exception.Source
    Exception.StackTrace
    Exception.TargetSite
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    Namespace: CodeFactory
    Assembly: CodeFactory.dll
    Syntax
    public class ModelException<TModelTypes> : CodeFactoryException, ISerializable where TModelTypes : struct, IComparable, IFormattable, IConvertible
    Type Parameters
    Name Description
    TModelTypes

    Target enumeration of model types that this exception will support.

    Constructors

    ModelException(TModelTypes)

    Creates a model exception.

    Declaration
    public ModelException(TModelTypes modelType)
    Parameters
    Type Name Description
    TModelTypes modelType

    The type of model that had issues

    ModelException(TModelTypes, string)

    Creates a model exception.

    Declaration
    public ModelException(TModelTypes modelType, string message)
    Parameters
    Type Name Description
    TModelTypes modelType

    The type of model that had issues

    string message

    The error message to be captured by the exception

    ModelException(TModelTypes, string, Exception)

    Creates a model exception.

    Declaration
    public ModelException(TModelTypes modelType, string message, Exception innerException)
    Parameters
    Type Name Description
    TModelTypes modelType

    The type of model that had issues

    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.

    Properties

    ModelType

    The source type of the model that had an error when loading.

    Declaration
    public TModelTypes ModelType { get; }
    Property Value
    Type Description
    TModelTypes

    Implements

    ISerializable
    © CodeFactory, LLC. All rights reserved.