Class ModelException
Exception for signalling model errors.
Inheritance
System.Object
System.Exception
ModelException
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Kephas.Model
Assembly: Kephas.Model.dll
Syntax
public class ModelException : Exception, ISerializable, ISeverityQualifiedException
Constructors
| Improve this Doc View SourceModelException(String)
Initializes a new instance of the ModelException class.
Declaration
public ModelException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
ModelException(String, Exception)
Initializes a new instance of the ModelException class.
Declaration
public ModelException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The message. |
System.Exception | inner | The inner exception. |
Properties
| Improve this Doc View SourceSeverity
Gets or sets the severity.
Declaration
public SeverityLevel Severity { get; set; }
Property Value
Type | Description |
---|---|
SeverityLevel | The severity. |
Implements
System.Runtime.Serialization.ISerializable