[
https://issues.apache.org/jira/browse/IGNITE-4693?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15865785#comment-15865785
]
Pavel Tupitsyn commented on IGNITE-4693:
----------------------------------------
To avoid iterating over plugins on each exception, let's ask plugins once on
start for their desired exception mappings.
> 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)