public ErrorCollection Validate()
{
try
{
this.IsValid();
}
catch (Exception ex)
{
_log.ErrorFormat(Program.GetLogErrorFormat(), ex.Message,ex.StackTrace, MethodBase.GetCurrentMethod().Name);
_errors.Add(new Error() { Description = "There was an error trying to validate the x264 batch file information. Please see the error log for more details." });
}
return _errors;
}