|[jgit-dev] Is there a roadmap for JGit 5.0?|
Config methods should throw checked Exceptions instead of IllegalArgumentExceptions in case of invalid values: a user can easily introduce invalid values into .git/config. This does not represent an internal or API usage error. The current API, which is using IllegalArgumentException, makes it very hard to detect and handle such cases. Once the time is right, I can provide a (huge) patch here, too, which I'm maintaining since a couple of years.
Back to the top