Improve some exception types.

This commit is contained in:
RoosterDragon
2016-09-11 15:14:44 +01:00
parent adc968db76
commit 9f1c872340
6 changed files with 7 additions and 7 deletions

View File

@@ -48,7 +48,7 @@ namespace OpenRA.Mods.Common.Graphics
}
catch (Exception e)
{
throw new Exception("Error occurred while parsing {0}".F(node.Key), e);
throw new InvalidDataException("Error occurred while parsing {0}".F(node.Key), e);
}
foreach (var kvp in nodes)