C# Class FluentValidation.ValidationException

An exception that represents failed validation
Inheritance: System.Exception
Show file Open project: JeremySkinner/FluentValidation Class Usage Examples

Public Methods

Method Description
ValidationException ( IEnumerable errors ) : System

Creates a new ValidationException

ValidationException ( string message ) : System

Creates a new ValidationException

ValidationException ( string message, IEnumerable errors ) : System

Creates a new ValidationException

Private Methods

Method Description
BuildErrorMesage ( IEnumerable errors ) : string

Method Details

ValidationException() public method

Creates a new ValidationException
public ValidationException ( IEnumerable errors ) : System
errors IEnumerable
return System

ValidationException() public method

Creates a new ValidationException
public ValidationException ( string message ) : System
message string
return System

ValidationException() public method

Creates a new ValidationException
public ValidationException ( string message, IEnumerable errors ) : System
message string
errors IEnumerable
return System