11 references to ArgumentException
Microsoft.Extensions.Documents.Abstractions (11)
ExtractionDocumentElement.cs (1)
35Throw.ArgumentException(nameof(value), "A text element requires TextContent.");
ExtractionDocumentSources.cs (1)
198Throw.ArgumentException(nameof(polygon), "A source polygon must contain at least three vertices.");
ExtractionDocumentTable.cs (1)
244Throw.ArgumentException(nameof(cell), "A cell span must fit within the table.");
src\Shared\Throw\Throw.cs (8)
82ArgumentException(paramName, $"Member {memberName} of {paramName} is null"); 115ArgumentException(paramName, $"Member {memberName} of {paramName} is null"); 151ArgumentException(paramName, "Argument is whitespace"); 184ArgumentException(paramName, "Argument is an empty string"); 206ArgumentException(paramName, $"Buffer too small, needed a size of {requiredSize} but got {bufferSize}"); 270ArgumentException(paramName, "Collection is empty"); 277ArgumentException(paramName, "Collection is empty"); 286ArgumentException(paramName, "Collection is empty");