- throw new IndexOutOfBoundsException("getColour: Index value '"
- + index + "' not in range [0.."
- + (this._colourList.size() - 1) + "]");
+ throw new IndexOutOfBoundsException(MessageManager.formatMessage("exception.index_value_not_in_range", new String[]{
+ "getColour",
+ Integer.valueOf(index).toString(),
+ Integer.valueOf((this._colourList.size() - 1)).toString()
+ }));