}
protected void verifyParameters() {
super.verifyParameters();
if (getStep() < 1) {
throw new StepExecutionException("Step must be greater than or equal to 1!", this);
}
if (getCount() != null) {
if (getCount().intValue() < 0) {
throw new StepExecutionException("Repeat count must be greater than or equal to 0!", this);
}
}
else if (getEndCount() != null) {
if (getEndCount().intValue() < fStartCount) {
throw new StepExecutionException("endCount ("+fEndCount+") must be greater than or equal to startCount (" + fStartCount + ")!", this);
}
}
else if (getXpath() == null) {
throw new StepExecutionException("You must specify a count, a endCount or a XPath attribute.", this);
}
}