Hi Elliotte. I never thought of that, but I don't think it is Apache's
problem if people exit the java convention

On Mon, 3 Jul 2023, 01:02 Elliotte Rusty Harold, <elh...@ibiblio.org> wrote:

> On Sun, Jul 2, 2023 at 8:53 PM Alex Herbert <alex.d.herb...@gmail.com>
> wrote:
>
> >     public static boolean isUnchecked(final Throwable throwable) {
> >         return (throwable instanceof Error) || (throwable instanceof
> > RuntimeException);
> >     }
>
> Not quite. It's also possible for someone to define a subclass of
> Throwable directly that is neither an Exception nor an Error.
>
>
> --
> Elliotte Rusty Harold
> elh...@ibiblio.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
> For additional commands, e-mail: dev-h...@commons.apache.org
>
>

Reply via email to