Catch parse exceptions for configuration file