if (below != null && over != null) throw new IllegalStateException("Cannot define both 'below' and 'over'!");
if (below == null && over == null) throw new IllegalStateException("Must define either 'below' or 'over'!");
}
@Override
public boolean evaluate(Statistics statistics) {
<BUG>OperationStats stats = statistics.getOperationsStats().get(on);
if (stats == null) throw new IllegalStateException("No statistics for operation " + on);</BUG>
org.radargun.stats.representation.Percentile percentile
<BUG>= stats.getRepresentation(org.radargun.stats.representation.Percentile.class, value);

if (percentile == null) throw new IllegalStateException("Cannot determine percentile from " + stats);
</BUG>
log.info("Response time is " + Utils.prettyPrintTime((long) percentile.responseTimeMax, TimeUnit.NANOSECONDS) + PropertyHelper.toString(this));

if (below != null && over != null) throw new IllegalStateException("Cannot define both 'below' and 'over'!");
if (below == null && over == null) throw new IllegalStateException("Must define either 'below' or 'over'!");
}
@Override
public boolean evaluate(Statistics statistics) {
org.radargun.stats.representation.Percentile percentile
= statistics.getRepresentation(on, org.radargun.stats.representation.Percentile.class, value);
if (percentile == null) throw new IllegalStateException("Cannot determine percentile from " + statistics);
log.info("Response time is " + Utils.prettyPrintTime((long) percentile.responseTimeMax, TimeUnit.NANOSECONDS) + PropertyHelper.toString(this));
