add int constructor for Java9+ compatibility

This commit is contained in:
Jörg Hohwiller 2020-05-29 23:09:01 +02:00 committed by Alexey Andreev
parent ecc4be2d25
commit e610c13e69

View File

@ -25,4 +25,8 @@ public class TIndexOutOfBoundsException extends TRuntimeException {
public TIndexOutOfBoundsException(String message) { public TIndexOutOfBoundsException(String message) {
super(message); super(message);
} }
public TIndexOutOfBoundsException(int index) {
super("Index out of range: " + index);
}
} }