Example #1
0
        public static ArgumentOutOfRangeException CreateArgumentOutOfRangeException(string paramName, object actualValue, string message)
        {
            string message1 = message + Environment.NewLine + StringUtils.FormatWith("Actual value was {0}.", (IFormatProvider)CultureInfo.InvariantCulture, actualValue);

            return(new ArgumentOutOfRangeException(paramName, message1));
        }