This commit fixes the handling of cached exceptions in the JSR-107
advisor. Such exceptions are now properly propagated instead of being
wrapped in a RuntimeException.
Issue: SPR-9616
@ -64,6 +66,13 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
@@ -64,6 +66,13 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
@ -177,12 +186,6 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
@@ -177,12 +186,6 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
publicvoidnoAnnotation(){
}
@CacheRemove
@CacheRemoveAll
publicvoidmultiAnnotations(){
}
@Override
publiclongexceptionInvocations(){
returnexceptionCounter.get();
@ -198,4 +201,14 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
@@ -198,4 +201,14 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
@ -64,6 +64,13 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
@@ -64,6 +64,13 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
@ -192,4 +199,14 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {
@@ -192,4 +199,14 @@ public class AnnotatedJCacheableService implements JCacheableService<Long> {