output.reportFailure(new AISValidationFailure (
new SequenceIntervalZeroException()));
}
if (sequence.getMinValue() >= sequence.getMaxValue()) {
output.reportFailure(new AISValidationFailure (
new SequenceMinGEMaxException()));
}
if (sequence.getStartsWith() < sequence.getMinValue() ||
sequence.getStartsWith() > sequence.getMaxValue()) {
output.reportFailure(new AISValidationFailure(
new SequenceStartInRangeException ()));