changeset 232:f5009a00a50d

Re #236: Handle null game system in race * Fix error message text no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Thu, 24 Dec 2009 14:57:32 +0000
parents d1c90159547a
children a36a0e9cc05d
files api/Factories/Xml/WarFoundryXmlRaceFactory.cs
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/api/Factories/Xml/WarFoundryXmlRaceFactory.cs	Thu Dec 24 14:54:43 2009 +0000
+++ b/api/Factories/Xml/WarFoundryXmlRaceFactory.cs	Thu Dec 24 14:57:32 2009 +0000
@@ -49,7 +49,7 @@
 			
 			if (gameSystem == null)
 			{
-				throw new InvalidFileException("Referenced game system, "+systemID+" did not exist");
+				throw new InvalidFileException("Referenced game system, '"+systemID+"', did not exist");
 			}
 			
 			Race race = new Race(id, subid, name, gameSystem, mainFactory);