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