+ temporarily revert change

master
Costin Leau 13 years ago
parent b6d7c85f6e
commit 04bcd77520
  1. 5
      org.springframework.aspects/src/main/java/org/springframework/cache/aspectj/AbstractCacheAspect.aj

@ -16,6 +16,7 @@
package org.springframework.cache.aspectj;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.util.concurrent.Callable;
@ -65,7 +66,11 @@ public abstract aspect AbstractCacheAspect extends CacheAspectSupport {
}
};
try{
return execute(ajInvocation, thisJoinPoint.getTarget(), method, thisJoinPoint.getArgs());
} catch (Exception ex){
throw new RuntimeException("Cannot cache target ", ex);
}
}
/**

Loading…
Cancel
Save