/* This cannot be fully validated during FO parsing because percentages
* cannot be resolved entirely there, so we validate it here. */
if (newLeaderArea.traitLeaderLengthMin()
> newLeaderArea.traitLeaderLengthOpt()) {
throw new AreaTreeException("leader-length.minimum may not "
+ "exceed leader-length.optimum");
}
if (newLeaderArea.traitLeaderLengthOpt()
> newLeaderArea.traitLeaderLengthMax()) {
throw new AreaTreeException("leader-length.optimum may not "
+ "exceed leader-length.maximum");
}
}