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 2017/05/02 13:42:04 UTC

[jira] [Created] (IGNITE-5135) .NET: Improve remote error propagation

Pavel Tupitsyn created IGNITE-5135:
--------------------------------------

             Summary: .NET: Improve remote error propagation
                 Key: IGNITE-5135
                 URL: https://issues.apache.org/jira/browse/IGNITE-5135
             Project: Ignite
          Issue Type: Improvement
          Components: platforms
            Reporter: Pavel Tupitsyn
            Assignee: Pavel Tupitsyn
             Fix For: 2.1


When we rethrow remote exceptions, we should wrap them in another exception to preserve remote stack traces.

For example, {{ComputeAbstractClosureTask.OnResult}} uses {{throw err}}, where {{err}} is a deserialized remote exception. This call causes remote stack trace loss.

Instead we should do {{throw new IgniteException("Remote computation failed", err)}} which will preserve remote stack trace.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)