Fix a warning in Ground truth reader
force exceptions to be created using localization string