public Exception GetParameterCountError(BindingMatch match, int expectedParameterCount) { return new BindingException( string.Format("Parameter count mismatch! The binding method '{0}' should have {1} parameters", GetMethodText(match.StepBinding.Method), expectedParameterCount)); }