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

    Target enumeration of model types that this exception will support.

    Constructors

    | Improve this Doc View Source

    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.

    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    ModelException(TModelTypes)

    Creates a model exception.

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

    The type of model that had issues

    Properties

    | Improve this Doc View Source

    ModelType

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

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

    Implements

    System.Runtime.Serialization.ISerializable
    System.Runtime.InteropServices._Exception
    © CodeFactory, LLC. All rights reserved.