6 references to GenerateException
System.Net.Requests (6)
System\Net\CommandStream.cs (5)
319exception = GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ServerProtocolViolation, null); 546throw GenerateException(SR.net_ftp_receivefailure, WebExceptionStatus.ReceiveFailure, e); 582throw GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ServerProtocolViolation, null); 591throw GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ServerProtocolViolation, null); 605throw GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ServerProtocolViolation, null);
System\Net\FtpControlStream.cs (1)
1141throw GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ProtocolError, e); // could not open data connection