Skip to content

Commit e31c072

Browse files
committed
replaced ex with exception for easy code understanding
1 parent eed0a3f commit e31c072

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spring-context/src/main/java/org/springframework/cache/interceptor/AbstractCacheInvoker.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ public CacheErrorHandler getErrorHandler() {
122122
try {
123123
return cache.retrieve(key);
124124
}
125-
catch (RuntimeException ex) {
126-
getErrorHandler().handleCacheGetError(ex, cache, key);
125+
catch (RuntimeException exception) {
126+
getErrorHandler().handleCacheGetError(exception, cache, key);
127127
return null;
128128
}
129129
}

0 commit comments

Comments
 (0)