mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-17 16:39:29 +00:00
+ remove unneeded catch for exceptions inside AbstractCacheAspect.aj
This commit is contained in:
Vendored
+1
-6
@@ -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());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user