[
https://issues.jboss.org/browse/JGRP-1141?page=com.atlassian.jira.plugin....
]
Bela Ban commented on JGRP-1141:
--------------------------------
OK, added a field 'exception' to Rsp. If an exception is thrown in the target
method and this is a unicast RPC, the exception will be thrown. If we have a multicast
RPC, Rsp.getException() will return the exception and Rsp.getValue() will return null.
RspList: use generics
---------------------
Key: JGRP-1141
URL:
https://issues.jboss.org/browse/JGRP-1141
Project: JGroups
Issue Type: Task
Reporter: Bela Ban
Assignee: Bela Ban
Priority: Minor
Fix For: 3.0
e.g.
{code}
RspList<Integer> list=disp.callRemoteMethods(....);
for(Rsp<Integer> rsp: rsps) {
int counter=rsp.getValue();
}
{code}
--
This message is automatically generated by JIRA.
For more information on JIRA, see:
http://www.atlassian.com/software/jira