23 references to UriFormatException
Microsoft.Extensions.AI.Abstractions (4)
Contents\DataUriParser.cs (4)
31
throw new
UriFormatException
("Invalid data URI format: the data URI must start with 'data:'.");
40
throw new
UriFormatException
("Invalid data URI format: the data URI must contain a comma separating the metadata and the data.");
57
throw new
UriFormatException
("Invalid data URI format: the data URI is base64-encoded, but the data is not a valid base64 string.");
66
throw new
UriFormatException
("Invalid data URI format: the media type is not a valid.");
PresentationCore (3)
System\Windows\Navigation\BaseUriHelper.cs (3)
274
throw new
UriFormatException
(SR.WrongFirstSegment);
295
throw new
UriFormatException
(SR.WrongFirstSegment);
306
throw new
UriFormatException
(SR.WrongFirstSegment);
System.Private.Uri (16)
System\DomainNameHelper.cs (2)
208
throw new
UriFormatException
(SR.net_uri_BadUnicodeHostForIdn);
214
throw new
UriFormatException
(SR.net_uri_BadUnicodeHostForIdn);
System\Uri.cs (13)
706
return new
UriFormatException
(SR.net_uri_BadFormat);
708
return new
UriFormatException
(SR.net_uri_BadScheme);
710
return new
UriFormatException
(SR.net_uri_BadAuthority);
712
return new
UriFormatException
(SR.net_uri_EmptyUri);
715
return new
UriFormatException
(SR.net_uri_SchemeLimit);
717
return new
UriFormatException
(SR.net_uri_MustRootedPath);
720
return new
UriFormatException
(SR.net_uri_BadHostName);
722
return new
UriFormatException
(SR.net_uri_BadFormat);
724
return new
UriFormatException
(SR.net_uri_BadPort);
726
return new
UriFormatException
(SR.net_uri_BadAuthorityTerminator);
728
return new
UriFormatException
(SR.net_uri_CannotCreateRelative);
732
return new
UriFormatException
(SR.net_uri_BadFormat);
2682
throw new
UriFormatException
(SR.Format(SR.net_uri_PortOutOfRange, _syntax.GetType(), portStr));
System\UriBuilder.cs (1)
310
throw new
UriFormatException
(SR.net_uri_BadUserPassword);