public Entry OpenEntry(string dir, string name) { var ent = OpenEntryOrNull(dir, name); if (ent != null) { return(ent); } string pathEnt; string pathTemp; GetPath(out pathEnt, out pathTemp, dir, name, false); throw ExceptionContext.Except("Repository doesn't contain entry {0}", pathEnt); }