[ 
https://issues.apache.org/jira/browse/IGNITE-4693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15866093#comment-15866093
 ] 

Pavel Tupitsyn commented on IGNITE-4693:
----------------------------------------

Makes sense, refactored to {{IPluginContext.RegisterExceptionMapping}}.

> Add possibility to wrap Java plugin exceptions to .NET plugin exceptions
> ------------------------------------------------------------------------
>
>                 Key: IGNITE-4693
>                 URL: https://issues.apache.org/jira/browse/IGNITE-4693
>             Project: Ignite
>          Issue Type: Sub-task
>          Components: platforms
>    Affects Versions: 2.0
>            Reporter: Pavel Tupitsyn
>            Assignee: Pavel Tupitsyn
>              Labels: .NET
>             Fix For: 2.0
>
>
> Plugins with Java part can throw custom Java exceptions, which are mapped to 
> {{IgniteException}}. We should add a way for plugin authors to map their 
> custom Java exceptions to corresponding .NET exceptions.
> This can be done by adding {{IPluginProvider.ConvertException}} method and 
> iterating over plugins in {{ExceptionUtils.GetException}}.



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

Reply via email to