Description
This code
PDPageLabels pl = new PDPageLabels(doc); PDPageLabelRange plr0 = new PDPageLabelRange(); plr0.setPrefix("bad"); pl.setLabelItem(-1, plr0);
should throw an exception, because the startPage parameter should not be negative.
This code
PDPageLabels pl = new PDPageLabels(doc); PDPageLabelRange plr0 = new PDPageLabelRange(); plr0.setPrefix("bad"); pl.setLabelItem(-1, plr0);
should throw an exception, because the startPage parameter should not be negative.