public void Setup(InvalidSQLException exception, bool allowSkip) { UpgradeInstaller.LogError(exception.InnerException, "[ERROR]\r\n" + "FileName: '" + ((InvalidSQLException)exception).FileName + "'\r\n" + exception.SQL); txtError.Text = "FileName: '" + exception.FileName + "'\r\n" + exception.InnerException.ToString(); txtSql.Text = exception.SQL; cmdSkip.Visible = allowSkip; }
public void Setup(InvalidSQLException exception) { txtError.Text = exception.InnerException.ToString(); txtSql.Text = exception.SQL; }