Details
-
Bug
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
None
Description
I wrote some tests for how exceptions throw within a function are returned to the executor of the function.
What I'm seeing is that how the function is returned varies based on the topology and region type used. Specifically, in almost all cases an exception thrown from within a Function is wrapped in a FunctionException. But when using onRegion with a partitioned region from an accessor, the exception is not wrapped in a FunctionException but is instead thrown directly.
Exceptions should be handled consistently. Since most cases seem to wrap the exception in a FunctionException, the PR accessor case probably should too.
Attachments
Issue Links
- is related to
-
GEODE-625 A function's ResultCollector throws ClassCastException when ResultSender.sendException is invoked
- Open