Skip to content

Commit

Permalink
[FLINK-7369] [backend] Add more information for 'Key group index out …
Browse files Browse the repository at this point in the history
…of range of key group range' exception
  • Loading branch information
StefanRRichter committed Aug 4, 2017
1 parent 875a136 commit 0477753
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,8 @@ private void setMapForKeyGroup(int keyGroupId, Map<N, Map<K, S>> map) {
try {
state[indexToOffset(keyGroupId)] = map;
} catch (ArrayIndexOutOfBoundsException e) {
throw new IllegalArgumentException("Key group index out of range of key group range [" +
keyGroupOffset + ", " + (keyGroupOffset + state.length) + ").");
throw new IllegalArgumentException("Key group index " + keyGroupId + " is out of range of key group " +
"range [" + keyGroupOffset + ", " + (keyGroupOffset + state.length) + ").");
}
}

Expand Down

0 comments on commit 0477753

Please sign in to comment.