static private GetException ( |
||
field | ||
return |
internal static FieldParsingException GetException(Field field)
{
return GetException(field, null);
}
internal static FieldParsingException GetException(Field field, Exception innerException)
FieldParsingException::GetException ( |
public bool Parse(string value) { try { if (!ParseValue(value)) { this.ValidationResult = new FieldValidationResult("FieldParse"); this.ValidationResult.AddParameter("InputValue", value); return(false); } else { Validate(); return(IsValid); } } catch (Exception e) // rethrow { throw FieldParsingException.GetException(this, e); } }