public FileException(File.Error error, File source, int line) : base(error + " thrown.\nPath: " + source.Path + "\nLine: " + line) { this.Error = error; this.Source = source; this.Line = line; }
public FileException(File.Error error) : base(error + " thrown.") { this.Error = error; this.Source = null; this.Line = NO_LINE; }
public FileException(File.Error error, File source) : base(error + " thrown.\nPath: " + source.Path) { this.Error = error; this.Source = source; this.Line = NO_LINE; }
public static string GetString(File.Error error) { return(resourceManager.GetString(Prefix.FILE_ERROR + "_" + error, CultureInfo.CurrentUICulture)); }