ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dmitriy Setrakyan <dsetrak...@apache.org>
Subject Re: Wrapping [Ignite]Interrupted[Checked]Exception in benign exceptions
Date Thu, 15 Feb 2018 12:57:57 GMT
Ilya, i have looked at the ticket. I am not sure I understand what you are
suggesting. Can you provide a "before" and "after" example?

D.

On Thu, Feb 15, 2018 at 4:40 AM, Ilya Kasnacheev <ilya.kasnacheev@gmail.com>
wrote:

> Hello Igniters.
>
> I have stumbled on the problem for which I have created a ticket
> https://issues.apache.org/jira/browse/IGNITE-7719
>
> Basically it is an awful code smell. On thread interrupt, we wrap
> InterruptedException with some unrelated exception type, which prevents it
> from being handled properly by client code. Especially bad since we use
> thread interruption for client code workflow, e.g. in service grid.
>
> Hope to hear your opinions on this,
>
> --
> Ilya Kasnacheev
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message