}
}
if (!ve.isEmpty()) {
ConstraintViolation worst = ve.iterator().next();
Level maxLevel = worst.getLevel();
if (maxLevel.ordinal() >= Level.FATAL.ordinal()) {
throw new ConstraintViolationException(ve);
}
// sort by class to make it more readable
ArrayList<LogLine> l = new ArrayList<LogLine>();