Skip to content

Commit 5f203c4

Browse files
committed
add exception message
1 parent a38c1a1 commit 5f203c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iabgpp-encoder/src/main/java/com/iab/gpp/encoder/datatype/encoder/IntegerBitSet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public int size() {
4848
private int getOffset(int value) {
4949
int offset = from - adjustment + value;
5050
if (offset < from) {
51-
throw new IndexOutOfBoundsException();
51+
throw new IndexOutOfBoundsException("Negative index provided");
5252
}
5353
return offset;
5454
}

0 commit comments

Comments
 (0)