Exceptions during 'compute' in storage manager must be processed with exception strategy

#KT-5134 Fixed
This commit is contained in:
Nikolay Krasko
2014-10-02 18:31:23 +04:00
parent bbc2d30f60
commit 555119f59a
@@ -207,6 +207,9 @@ public class LockBasedStorageManager implements StorageManager {
try {
return computable.invoke();
}
catch (Throwable throwable) {
throw exceptionHandlingStrategy.handleException(throwable);
}
finally {
lock.unlock();
}