pivovarit / throwing-function

Checked Exceptions-enabled Java 8+ functional interfaces + adapters

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Replace <? extends Throwable> with <? extends Exception>

pivovarit opened this issue · comments

Everywhere

Let's see Error's documentation:

An Error is a subclass of Throwable that indicates serious problems that a reasonable application should not try to catch.

Makes sense.
It would be break compatibility, though.

Yes, so this could happen only with a major release