The mimics the behavior of the {@link MessageValidator} of previous releases. @author Christian Ohr
9091929394959697
public Type getComponent(int number) throws DataTypeException { try { return this.data[number]; } catch (ArrayIndexOutOfBoundsException e) { throw new DataTypeException("Element " + number + " doesn't exist (Type " + getClass().getName() + " has only " + this.data.length + " components)"); } }
106107108109110111112113
96979899100101102103
124125126127128129130131
8283848586878889
100101102103104105106107
8485868788899091
8687888990919293