7 Replies Latest reply on Mar 15, 2005 12:02 PM by Bela Ban

    org.jgroups.blocks.RpcDispatcher and Exceptions

    Scott Stark Master

      I'm looking into why the HAPartitionImpl extension of the RpcDispatcher.handle method is only logging checked exceptions thrown by the method invocation and I see that the RpcDispatcher has no concept of exceptions being thrown from the rpc call. I see the problem with merging exceptions, but it seems that there should be a notion of whether or not all targets of the invocation completed successfully as opposed to just dispatching the invocation.

      I would suggest that the RspList contain both normal return values, and exceptions thrown so that the invoker of the rpc call can make better decisions regarding the outcome of the rpc call.