Class CRUDFieldValidationException
Thrown by CRUD data access classes when field validation does not pass
Inheritance
System.Object
System.Exception
CRUDFieldValidationException
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: NFX.DataAccess.CRUD
Assembly: NFX.dll
Syntax
[Serializable]
public class CRUDFieldValidationException : CRUDValidationException, ISerializable
Constructors
CRUDFieldValidationException(Row, String, String)
Declaration
public CRUDFieldValidationException(Row row, string fieldName, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| Row | row | |
| System.String | fieldName | |
| System.String | message |
CRUDFieldValidationException(SerializationInfo, StreamingContext)
Declaration
protected CRUDFieldValidationException(SerializationInfo info, StreamingContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Runtime.Serialization.SerializationInfo | info | |
| System.Runtime.Serialization.StreamingContext | context |
CRUDFieldValidationException(String, String)
Declaration
public CRUDFieldValidationException(string schemaName, string fieldName)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | schemaName | |
| System.String | fieldName |
CRUDFieldValidationException(String, String, String)
Declaration
public CRUDFieldValidationException(string schemaName, string fieldName, string message)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | schemaName | |
| System.String | fieldName | |
| System.String | message |
CRUDFieldValidationException(String, String, String, Exception)
Declaration
public CRUDFieldValidationException(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 = "CRUDRVE-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 = "CRUDRVE-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 = "CRUDRVE-SN"
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