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