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, <[email protected]> wrote:

> On Sun, Jul 2, 2023 at 8:53 PM Alex Herbert <[email protected]>
> 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
> [email protected]
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to