JDK 20 compliance

(cherry picked from commit 41460bd32a)
This commit is contained in:
Harald Kuhr
2023-05-24 21:43:33 +02:00
parent c5cb54e3e5
commit a78faf2b31
6 changed files with 24 additions and 6 deletions

View File

@@ -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());
}
}