Revert "ItEr30S17ValidacionEProbasFuncionais: Removing exception throwing. bug #48"

This reverts commit c3e9e4fbff.
This commit is contained in:
Óscar González Fernández 2009-10-19 00:10:08 +02:00
parent 0610cb2993
commit be9e79eae9

View file

@ -82,6 +82,8 @@ public class LoadPeriod {
public int compare(LoadPeriod o1, LoadPeriod o2) {
if (o1.overlaps(o2)) {
LOG.warn(o1 + " overlaps with " + o2);
throw new IllegalArgumentException(o1 + " overlaps with "
+ o2);
}
int comparison = compareLocalDates(o1.start, o2.start);
if (comparison != 0)