/** * Required for serialization * @param l */ public BatchException70(List<BatchException70> l) { super(l.get(0).getMessage()); this.batchId = l.get(0).getBatchId(); this.exceptions = new ArrayList<BatchException70>(); this.exceptions.addAll(l); this.index = this.exceptions.get(0).getIndex(); }
/** * Required for serialization * @param l */ public BatchException70(List<BatchException70> l) { super(l.get(0).getMessage()); this.batchId = l.get(0).getBatchId(); this.exceptions = new ArrayList<BatchException70>(); this.exceptions.addAll(l); this.index = this.exceptions.get(0).getIndex(); }