17 references to ExceptionContext
Microsoft.ML.Core (17)
Data\ModelLoadContext.cs (1)
80_ectx = rep.ExceptionContext;
Data\ModelSaveContext.cs (1)
89_ectx = rep.ExceptionContext;
Data\Repository.cs (15)
317ExceptionContext.Check(!Disposed); 325throw ExceptionContext.ExceptParam(nameof(name), "Duplicate entry: '{0}'", pathEnt); 340ExceptionContext.AssertValue(ent); 351ExceptionContext.Assert(!Disposed); 382ExceptionContext.Assert(!Disposed); 383ExceptionContext.AssertValue(_closed); 384ExceptionContext.AssertValue(_archive); 414ExceptionContext.Check(!Disposed); 415ExceptionContext.AssertValue(_closed); 466throw ExceptionContext.ExceptDecode(ex, "Failed to open a zip archive"); 491throw ExceptionContext.Except("Repository doesn't contain entry {0}", pathEnt); 501ExceptionContext.Check(!Disposed); 533throw ExceptionContext.ExceptParam(nameof(name), "Duplicate entry: '{0}'", pathLower); 540ExceptionContext.CheckDecode(entry.Length < int.MaxValue, "Repository stream too large to read into memory"); 553ExceptionContext.AssertValue(ent);