diff -r 598cbc609683 -r 8c40512777a1 src/main/java/ru/alphatech/icfpc/game/Batch.java --- a/src/main/java/ru/alphatech/icfpc/game/Batch.java Sun Jun 19 17:47:28 2011 +0400 +++ b/src/main/java/ru/alphatech/icfpc/game/Batch.java Sun Jun 19 18:16:08 2011 +0400 @@ -15,6 +15,8 @@ public Slot slot = null; public Batch(OperationType type, ICard card, Slot slot){ + if(type == null || card == null || slot == null) + throw new ICFPCException("Illegal constructor using!"); this.operationType = type; this.card = card; this.slot = slot;