C# Class HandCoded.Validation.ValidationError

Instances of the ValidationError class are used to hold the details of previous validation failure events.
Exibir arquivo Open project: formicary/fpml-toolkit-csharp Class Usage Examples

Public Methods

Method Description
ValidationError ( String code, XmlNode context, String description, String ruleName, String additionalData ) : System

Constructs a ValidationError instance from the details provided to a semantic error handler.

ValidationError ( String code, int line, int column, String description, String ruleName, String additionalData ) : System

Constructs a ValidationError instance from the details provided to a syntax error handler.

Private Methods

Method Description
ValidationError ( String code, String context, bool lexical, String description, String ruleName, String additionalData ) : System

Constructs a ValidationError instance from the details provided.

Method Details

ValidationError() public method

Constructs a ValidationError instance from the details provided to a semantic error handler.
public ValidationError ( String code, XmlNode context, String description, String ruleName, String additionalData ) : System
code String The FpML defined reason code associated with the error.
context System.Xml.XmlNode The DOM Node containing the erroneous data.
description String A textual description of the problem detected.
ruleName String The code for the FpML validation rule that has failed.
additionalData String Any additional data that may assist in problem solving.
return System

ValidationError() public method

Constructs a ValidationError instance from the details provided to a syntax error handler.
public ValidationError ( String code, int line, int column, String description, String ruleName, String additionalData ) : System
code String The FpML defined reason code associated with the error.
line int The line number where the problem was detected.
column int The column number where the problem was detected.
description String A textual description of the problem detected.
ruleName String The code for the FpML validation rule that has failed.
additionalData String Any additional data that may assist in problem solving.
return System