Class FieldValidationException
Thrown by data document field-level validation
Inheritance
System.Object
System.Exception
FieldValidationException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
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: Azos.Data
Assembly: Azos.dll
Syntax
[Serializable]
public class FieldValidationException : ValidationException, ISerializable
Constructors
FieldValidationException(Doc, String, String)
Declaration
public FieldValidationException(Doc doc, string fieldName, string message)
Parameters
Type | Name | Description |
---|---|---|
Doc | doc | |
System.String | fieldName | |
System.String | message |
FieldValidationException(SerializationInfo, StreamingContext)
Declaration
protected FieldValidationException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
FieldValidationException(String, String)
Declaration
public FieldValidationException(string schemaName, string fieldName)
Parameters
Type | Name | Description |
---|---|---|
System.String | schemaName | |
System.String | fieldName |
FieldValidationException(String, String, String)
Declaration
public FieldValidationException(string schemaName, string fieldName, string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | schemaName | |
System.String | fieldName | |
System.String | message |
FieldValidationException(String, String, String, Exception)
Declaration
public FieldValidationException(string schemaName, string fieldName, string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | schemaName | |
System.String | fieldName | |
System.String | message | |
System.Exception | inner |
Fields
CLIENT_MESSAGE_FLD_NAME
Declaration
public const string CLIENT_MESSAGE_FLD_NAME = "DOCVE-CM"
Field Value
Type | Description |
---|---|
System.String |
ClientMessage
Declaration
public readonly string ClientMessage
Field Value
Type | Description |
---|---|
System.String |
FIELD_NAME_FLD_NAME
Declaration
public const string FIELD_NAME_FLD_NAME = "DOCVE-FN"
Field Value
Type | Description |
---|---|
System.String |
FieldName
Declaration
public readonly string FieldName
Field Value
Type | Description |
---|---|
System.String |
SCHEMA_NAME_FLD_NAME
Declaration
public const string SCHEMA_NAME_FLD_NAME = "DOCVE-SCH"
Field Value
Type | Description |
---|---|
System.String |
SchemaName
Declaration
public readonly string SchemaName
Field Value
Type | Description |
---|---|
System.String |
WHAT
Declaration
public const string WHAT = "Schema field: '{0}'.{1}; "
Field Value
Type | Description |
---|---|
System.String |
Methods
GetObjectData(SerializationInfo, StreamingContext)
Declaration
public override void GetObjectData(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
System.Runtime.Serialization.SerializationInfo | info | |
System.Runtime.Serialization.StreamingContext | context |
Overrides
Implements
System.Runtime.Serialization.ISerializable