JDK 20 compliance

This commit is contained in:
Harald Kuhr
2023-05-24 21:43:33 +02:00
parent 13b37b3839
commit 41460bd32a
6 changed files with 24 additions and 6 deletions
@@ -904,7 +904,7 @@ public final class StringUtil {
}
catch (ParseException pe) {
// Wrap in RuntimeException
throw new IllegalArgumentException(pe.getMessage());
throw new IllegalArgumentException(pe.getMessage() + " at pos " + pe.getErrorOffset());
}
}