+ remove unneeded catch for exceptions inside AbstractCacheAspect.aj

This commit is contained in:
Costin Leau 2011-09-01 08:04:16 +00:00
parent 37d22ad039
commit ddfb2d3c58
1 changed files with 1 additions and 6 deletions

View File

@ -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());
}
/**