Commit Graph

18 Commits (master)

Author SHA1 Message Date
Leandro Doctors 2733516cb9 Organize imports 2020-01-16 08:21:24 +08:00
melvinzhang f9af5282b2 use existing ScriptParseException instead of FilterParseException 2018-04-01 12:47:33 +08:00
melvinzhang 55e06d3585 use FilterParseException instead of RuntimeException 2018-04-01 12:42:05 +08:00
lodici 1ae240a92d consolidate duplicate log header code into setLogHeader(). 2017-06-19 10:00:21 +01:00
lodici f48e2c9740 Update card image downloading (see #1039). 2017-02-20 20:59:08 +00:00
melvinzhang 0ee94f4318 include top 7 cards of library in excpetion report 2016-02-09 08:50:57 +08:00
melvinzhang 78ff22ea5c include AI type in exception report 2016-02-09 08:50:33 +08:00
lodici 16b35f4e82 relocate VERSION and SOFTWARE_TITLE out of GeneralConfig and into MagicSystem to avoid statics dependency and fix issue #684. 2016-02-07 20:39:31 +00:00
melvinzhang c8f1262b45 remove trailing space from java code 2015-12-31 18:54:52 +08:00
melvinzhang 5263fc07f8 replace RuntimeException with GameException in cases where game object is available for more informative exception reports 2015-11-10 09:51:57 +08:00
lodici 54e0bb753f move DeckUtils and FileIO classes into magic.utility package. 2015-06-01 13:48:50 +01:00
lodici e8aac8fdba Catch error on resume duel if player deck invalid (fixes #220). 2015-04-24 15:57:02 +01:00
lodici c708cb1192 convert InvalidDeckException to unchecked exception and de-clutter code by removing related "throws" clauses. 2015-04-24 15:56:59 +01:00
melvinzhang 27ab69c30f allow ability keyword to be separated by comma 2015-03-21 13:41:26 +08:00
lodici f553cb67ca Invalid deck throws new InvalidDeckException instead of IOException and propagates up to UI/console layer for handling. 2015-02-22 17:18:36 +00:00
melvinzhang c7343229e6 create GameException to store a copy of the game that caused the exception, restore exception handling in doAction 2015-02-16 20:38:16 +08:00
lodici 3ea85d6246 create "magic.exception.handler" package and add new classes. 2015-02-16 11:11:11 +00:00
lodici bf4c2bf64f rename package "magic.exceptions" to "magic.exception". 2015-02-16 11:01:32 +00:00