Browse Source

+ remove unneeded catch for exceptions inside AbstractCacheAspect.aj

pull/7/head
Costin Leau 13 years ago
parent
commit
ddfb2d3c58
  1. 7
      org.springframework.aspects/src/main/java/org/springframework/cache/aspectj/AbstractCacheAspect.aj

7
org.springframework.aspects/src/main/java/org/springframework/cache/aspectj/AbstractCacheAspect.aj vendored

@ -65,12 +65,7 @@ public abstract aspect AbstractCacheAspect extends CacheAspectSupport { @@ -65,12 +65,7 @@ public abstract aspect AbstractCacheAspect extends CacheAspectSupport {
}
};
try {
return execute(ajInvocation, thisJoinPoint.getTarget(), method, thisJoinPoint.getArgs());
}
catch (Exception ex) {
throw new UnsupportedOperationException("Should not throw exception", ex);
}
return execute(ajInvocation, thisJoinPoint.getTarget(), method, thisJoinPoint.getArgs());
}
/**

Loading…
Cancel
Save