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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
Pavel Tupitsyn created IGNITE-13530:
---------------------------------------

             Summary: 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
             Fix For: 2.10


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.



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