/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }
/** * Returns an individual data component. * * @param number The component number (0-indexed) * @throws DataTypeException if the given element number is out of range. */ 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)"); } }