Accord.Math.Optimization.BaseOptimizationMethod.ArgumentException C# (CSharp) Method

ArgumentException() protected static method

Creates an exception with a given inner optimization algorithm code (for debugging purposes).
protected static ArgumentException ( string paramName, string message, string code ) : ArgumentOutOfRangeException
paramName string
message string
code string
return System.ArgumentOutOfRangeException
        protected static ArgumentOutOfRangeException ArgumentException(string paramName, string message, string code)
        {
            var e = new ArgumentOutOfRangeException(paramName, message);
            e.Data["Code"] = code;
            return e;
        }