private NotFound ( string scheme, WebResponse wres ) : Exception | ||
scheme | string | |
wres | WebResponse | |
return | Exception |
private Exception NotFound (string scheme, WebResponse wres)
{
if (scheme == "https")
return new SecurityException ();
return new WebException ("NotFound", null,
wres == null ? WebExceptionStatus.UnknownError : WebExceptionStatus.Success,
wres);
}