});
Iterator<FieldEffect> i = m_effects.iterator();
while (i.hasNext()) {
StatusEffect eff = (StatusEffect)i.next();
if (eff instanceof Clause) {
Clause clause = (Clause)eff;
if (!clause.isTeamValid(this, team, idx)) {
throw new ValidationException("The team violates "
+ clause.getClauseName() + ".");
}
}
}
}