11 references to SocksException
System.Net.Http (11)
System\Net\Http\SocketsHttpHandler\SocksHelper.cs (11)
114
throw new
SocksException
(SR.net_socks_auth_required);
137
throw new
SocksException
(SR.net_socks_auth_failed);
143
throw new
SocksException
(SR.net_socks_no_auth_method);
196
throw new
SocksException
(SR.Format(SR.net_socks_connection_failed, buffer[1].ToString("X2")));
203
_ => throw new
SocksException
(SR.net_socks_bad_address_type)
243
throw new
SocksException
(SR.net_socks_ipv6_notsupported);
263
throw new
SocksException
(SR.net_socks_no_ipv4_address);
309
throw new
SocksException
(SR.net_socks_auth_failed);
311
throw new
SocksException
(SR.Format(SR.net_socks_connection_failed, buffer[1].ToString("X2")));
330
throw new
SocksException
(SR.Format(SR.net_socks_string_too_long, parameterName));
338
throw new
SocksException
(SR.Format(SR.net_socks_unexpected_version, expected, version));