private void ValidateTaxComponents(double taxableIncome, User taxPayer) { if (taxPayer == null) throw new ArgumentException("Tax payer details not available"); if (taxableIncome <= 0) throw new ArgumentException("Invalid taxable income"); }