[infinispan-dev] [ISPN-176] CommandAwareRpcDispatcher.handle() should wrap throwable into ExceptionResponse

Galder Zamarreno galder.zamarreno at redhat.com
Thu Sep 3 04:28:16 EDT 2009



On 09/01/2009 06:20 PM, Galder Zamarreno wrote:
> Hi,
>
> While working on the Hibernate cache provider classloader tests, I've
> come across https://jira.jboss.org/jira/browse/ISPN-176
>
> IMO, the fix for this involves making CommandAwareRpcDispatcher.handle()
> return an ExceptionResponse with the throwable thrown. This would
> require enhancing ExceptionResponse to deal with throwables rather than
> Exceptions.
>
> Note that JGroupsTransport.invokeRemotely currently expects a Response
> instance as a return rather than a Exception directly.
>
> Does anyone think different?

Haven't heard anything otherwise after 2 days. I know Manik and some 
others are in Summit/JBW. I'll go ahead with this and if anyone has any 
comments, please let me know.

>
> Cheers,

-- 
Galder Zamarreño
Sr. Software Engineer
Infinispan, JBoss Cache



More information about the infinispan-dev mailing list