[infinispan-issues] [JBoss JIRA] Updated: (ISPN-1430) advancedCache.addInterceptorXYZ method don't inform the caller if the operation fails
Manik Surtani (JIRA)
jira-events at lists.jboss.org
Fri Sep 30 10:07:27 EDT 2011
[ https://issues.jboss.org/browse/ISPN-1430?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Manik Surtani updated ISPN-1430:
--------------------------------
Fix Version/s: 5.1.0.CR1
5.1.0.FINAL
Affects Version/s: 5.0.0.FINAL
> advancedCache.addInterceptorXYZ method don't inform the caller if the operation fails
> -------------------------------------------------------------------------------------
>
> Key: ISPN-1430
> URL: https://issues.jboss.org/browse/ISPN-1430
> Project: Infinispan
> Issue Type: Feature Request
> Components: Core API
> Affects Versions: 5.0.0.FINAL
> Reporter: Mircea Markus
> Assignee: Manik Surtani
> Fix For: 5.1.0.CR1, 5.1.0.FINAL
>
>
> Problem:
> cache.getAdvancedCache().addInterceptorAfter(new ErrorInducingInterceptor(), NonTransactionalLockingInterceptor.class);
> if NonTransactionalLockingInterceptor doesn't exist in the chain then the method return silently without informing the user that it didn't succeed. This is not API friendly.
> Suggested solution: throw an exception to inform the user that his attempt is not correct.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the infinispan-issues
mailing list