Use ArgumentException instead of FormatException