Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
2.6
-
None
-
None
-
Docs Required
Description
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.