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

Galder Zamarreno galder.zamarreno at redhat.com
Tue Sep 1 12:20:56 EDT 2009


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?

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



More information about the infinispan-dev mailing list