You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (Jira)" <ji...@apache.org> on 2020/10/08 06:01:00 UTC

[jira] [Updated] (IGNITE-13530) Java thin: exception type is lost on rethrow

     [ https://issues.apache.org/jira/browse/IGNITE-13530?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Tupitsyn updated IGNITE-13530:
------------------------------------
    Description: 
Exception handling in TcpClientChannel is inconsistent:
* Some code is duplicated in {{receive}} and {{convertException}}
* Some exception types, like {{ClientAuthenticationException}}, are wrapped in {{ClientException}}

Make sure to preserve exception types when rethrowing them and deduplicate the code.

  was:
Exception handling in TcpClientChannel is inconsistent:
* Some code is duplicated in {code}receive{code} and {code}convertException{code}
* Some exception types, like {code}ClientAuthenticationException{code}, are wrapped in {code}ClientException{code}

Make sure to preserve exception types when rethrowing them and deduplicate the code.


> Java thin: exception type is lost on rethrow
> --------------------------------------------
>
>                 Key: IGNITE-13530
>                 URL: https://issues.apache.org/jira/browse/IGNITE-13530
>             Project: Ignite
>          Issue Type: Bug
>          Components: thin client
>    Affects Versions: 2.10
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>            Priority: Major
>             Fix For: 2.10
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Exception handling in TcpClientChannel is inconsistent:
> * Some code is duplicated in {{receive}} and {{convertException}}
> * Some exception types, like {{ClientAuthenticationException}}, are wrapped in {{ClientException}}
> Make sure to preserve exception types when rethrowing them and deduplicate the code.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)