Skip to content

Commit

Permalink
Axis ordinal in error message is now 0-based; was 1-based.
Browse files Browse the repository at this point in the history
  • Loading branch information
julianhyde committed May 1, 2013
1 parent 11012a6 commit d242d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/org/olap4j/driver/xmla/XmlaOlap4jCellSet.java
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public int coordinatesToOrdinal(List<Integer> coordinates) {
if (coordinate < 0 || coordinate >= axis.getPositionCount()) {
throw new IndexOutOfBoundsException(
"Coordinate " + coordinate
+ " of axis " + k
+ " of axis " + (k - 1)
+ " is out of range ("
+ getBoundsAsString() + ")");
}
Expand Down

0 comments on commit d242d19

Please sign in to comment.