comparison API/Factories/Xml/WarFoundryXmlFactory.cs @ 419:71fceea2725b

Code tidy-up - remove warnings * Add missing GetHashcode() implementations * Remove unused exception variables * Use unused event * Remove dead code * Properly override some methods
author IBBoard <dev@ibboard.co.uk>
date Sun, 25 Sep 2011 20:52:27 +0100
parents ff7f1b319b4e
children 86725e88052e
comparison
equal deleted inserted replaced
418:6798a59c1b49 419:71fceea2725b
165 { 165 {
166 try 166 try
167 { 167 {
168 raceFactory.CompleteLoading(race); 168 raceFactory.CompleteLoading(race);
169 } 169 }
170 catch (InvalidFileException ex) 170 catch (InvalidFileException)
171 { 171 {
172 WarFoundryLoader.GetDefault().RemoveRace(race); 172 WarFoundryLoader.GetDefault().RemoveRace(race);
173 throw; 173 throw;
174 } 174 }
175 } 175 }
178 { 178 {
179 try 179 try
180 { 180 {
181 gameSystemFactory.CompleteLoading(system); 181 gameSystemFactory.CompleteLoading(system);
182 } 182 }
183 catch (InvalidFileException ex) 183 catch (InvalidFileException)
184 { 184 {
185 WarFoundryLoader.GetDefault().RemoveGameSystem(system); 185 WarFoundryLoader.GetDefault().RemoveGameSystem(system);
186 throw; 186 throw;
187 } 187 }
188 } 188 }