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

Alexey Kukushkin resolved IGNITE-10074.
---------------------------------------
    Resolution: Won't Fix

No more requests for this enhancement

> Structured Exception information is lost when Ignite .NET client calls Ignite 
> Java service
> ------------------------------------------------------------------------------------------
>
>                 Key: IGNITE-10074
>                 URL: https://issues.apache.org/jira/browse/IGNITE-10074
>             Project: Ignite
>          Issue Type: Improvement
>          Components: platforms
>    Affects Versions: 2.6
>            Reporter: Alexey Kukushkin
>            Assignee: Alexey Kukushkin
>            Priority: Major
>
> Suppose an Ignite service in Java throws *new 
> ModelVerificationException(“ERROR!”)* to signal about a failure.
> An Ignite.NET client of such a Java service would receive this exception:
> Apache.Ignite.Core.Services.ServiceInvocationException
>  * *Message*: Proxy method invocation failed with an exception. Examine 
> InnerException for details.
>  * *InnerException*: Apache.Ignite.Core.Common.IgniteException
> o   *Message*: ERROR!
> o   *InnerException*: Apache.Ignite.Core.Common.JavaException
>  * *JavaClassName*: class org.apache.ignite.IgniteCheckedException
>  * *JavaMessage*: ERROR!
>  * *InnerException*: null
>  * *Message*: class org.apache.ignite.IgniteCheckedException: ERROR!
>                at 
> org.apache.ignite.internal.util.IgniteUtils.cast(IgniteUtils.java:7332)
>                at 
> org.apache.ignite.internal.processors.platform.services.PlatformServices$ServiceProxyHolder.invoke(PlatformServices.java:589)
>                at 
> org.apache.ignite.internal.processors.platform.services.PlatformServices.processInObjectStreamOutObjectStream(PlatformServices.java:289)
>                at 
> org.apache.ignite.internal.processors.platform.PlatformTargetProxyImpl.inObjectStreamOutObjectStream(PlatformTargetProxyImpl.java:172)
> Caused by: ModelVerificationException: ERROR!
>                at ... 
> Ignite service wraps the custom ModelVerificationException in a 
> IgniteCheckedException, which we get information for on the client side. 
> There is no structured information about the custom exception in the client.
> We need to have information about the custom exception on the client.



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

Reply via email to