RspList rsps=dispatcher.callRemoteMethods(null, 
"methodWithAmiguousReturnValue", null, nulll);

for(int i=0; i < rsps.size(); i++) {
  Rsp rsp=rsps.get(i);
  Object retval=rsp.getValue();
   if(retval != null && retval instanceof Trowable) {

       // rethrow, or do something with it
   }
}

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870089#3870089

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870089


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to