i.e. index < 1, or greater than the length of the sequence.
666768697071727374
public Item getItem(int index) throws SequenceIndexOutOfBoundsException { if (index == 1) { return this; } else { throw new SequenceIndexOutOfBoundsException( "index " + index + " out of bounds (1..1)"); } }
8990919293949596979899
// javadoc inherited public Item getItem(int index) throws SequenceIndexOutOfBoundsException { if ((index < 1) || (index > items.length)) { throw new SequenceIndexOutOfBoundsException( "index " + index + " is out of bounds" + ((items.length > 0) ? " (1.." + items.length + ")" : "")); } else {