Replaced validation messages in ini file parsing with an exception.