for (; i < this.keyPositions.length; i++) {
this.comparators[i].setReference(toCompare.getField(this.keyPositions[i]));
}
}
catch (NullPointerException npex) {
throw new NullKeyFieldException(keyPositions[i]);
}
catch (IndexOutOfBoundsException iobex) {
throw new KeyFieldOutOfBoundsException(keyPositions[i]);
}
}