DDF-62 Addressed code review comment regarding throwing exception when validation of input fails.