add a little more context to the error in AF API parsing.

This commit is contained in:
jendave
2011-08-06 15:22:48 +00:00
parent 2b90dcefb5
commit e3e8d7b2ef

View File

@@ -480,7 +480,7 @@ public class AbilityFactory {
}
if (SA == null)
throw new RuntimeException("AbilityFactory : SpellAbility was not created. Did you add the API section?");
throw new RuntimeException("AbilityFactory : SpellAbility was not created for "+hostCard.getName()+". Did you add the API section?");
// *********************************************
// set universal properties of the SpellAbility