System.Net.CommandStream.GenerateException C# (CSharp) Method

GenerateException() protected method

protected GenerateException ( string message, WebExceptionStatus status, Exception innerException ) : Exception
message string
status WebExceptionStatus
innerException System.Exception
return System.Exception
        protected Exception GenerateException(string message, WebExceptionStatus status, Exception innerException)
        {
            return new WebException(
                            message,
                            innerException,
                            status,
                            null /* no response */ );
        }

Same methods

CommandStream::GenerateException ( FtpStatusCode code, string statusDescription, Exception innerException ) : Exception