2025-June-25 - 2.7.15103
Pre-release
Pre-release
GameParseException for getResourceOrThrow/getUnitTypeOrThrow (#13508) * GameParseException for getResourceOrThrow/getUnitTypeOrThrow GameParser.java - multiple methods: MessageFormat for GameParseException - methods getUnitType/getUnitTypeOrThrow/getResourceOrThrow: Rethrow IllegalArgumentException as GameParseException - methods parseProductionRules/parseRepairRules: Reworked to avoid duplicated code - method parseCosts: Renamed to ProductionRule - new method parseCostsForRule: Reuse method for ProductionRule and RepairRule Rule.java / ProductionRule.java / RepairRule.java - new method: addCost * GameParseException for getResourceOrThrow/getUnitTypeOrThrow (Attachment classes) Reintroduce GameParseExceptions removed via commit a4e94198c9cc96eda2e106e3bf84c90c90d3b47f#r160414273 DefaultAttachment.java - new method getResourceOrThrowGameParseException PlayerAttachment.java / TerritoryAttachment.java / TriggerAttachment.java / UnitAttachment.java - reintroduce GameParseExceptions * GameParseException GameParser.java messages