Index: Core/Plugins/src/Core.Plugins.Map/Legend/MapLegendView.cs =================================================================== diff -u -rb902cfae7addbd434617e68a63ba1e606b66d3d5 -r60bb3a8012892c2a7e31d759ae2ba1e9b191bf0b --- Core/Plugins/src/Core.Plugins.Map/Legend/MapLegendView.cs (.../MapLegendView.cs) (revision b902cfae7addbd434617e68a63ba1e606b66d3d5) +++ Core/Plugins/src/Core.Plugins.Map/Legend/MapLegendView.cs (.../MapLegendView.cs) (revision 60bb3a8012892c2a7e31d759ae2ba1e9b191bf0b) @@ -261,12 +261,12 @@ { log.Error(e.Message); } - catch(Exception) + catch (Exception) { - // Because we expect NullReference and NotImplemented exceptions when reading in a corrupt shape file - // from a third party library, we catch all the exceptions here + // Because NullReferenceException or NotImplementedException when reading in a corrupt shape file + // from a third party library is expected, we catch all the exceptions here. string message = new FileReaderErrorMessageBuilder(filePath) - .Build(MapResources.MapLegendView_CheckDataFormat_An_error_occured_when_trying_to_read_the_file); + .Build(MapResources.MapLegendView_CheckDataFormat_An_error_occured_when_trying_to_read_the_file); log.Error(message); } }