Added missing throw InputValidationException statement.