7 references to GenerateException
System.Net.Requests (7)
System\Net\CommandStream.cs (6)
321exception = GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ServerProtocolViolation, null); 548throw GenerateException(SR.net_ftp_receivefailure, WebExceptionStatus.ReceiveFailure, e); 584throw GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ServerProtocolViolation, null); 593throw GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ServerProtocolViolation, null); 606throw GenerateException(SR.Format(SR.net_ftp_response_too_large, MaxResponseLength), WebExceptionStatus.ServerProtocolViolation, null); 612throw GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ServerProtocolViolation, null);
System\Net\FtpControlStream.cs (1)
1143throw GenerateException(SR.net_ftp_protocolerror, WebExceptionStatus.ProtocolError, e); // could not open data connection