NAnt.Core.Tasks.CopyTask.CreateSourceFileNotFoundException C# (CSharp) Method

CreateSourceFileNotFoundException() protected method

protected CreateSourceFileNotFoundException ( string sourceFile ) : BuildException
sourceFile string
return BuildException
        protected virtual BuildException CreateSourceFileNotFoundException(string sourceFile)
        {
            return new BuildException(string.Format(CultureInfo.InvariantCulture,
                "Could not find file '{0}' to copy.", sourceFile),
                Location);
        }