PasswordSafe: simultaneous prompt appearances: part 2

This commit is contained in:
Gregory.Shrago
2015-06-22 22:57:07 +03:00
parent 46da77733b
commit 8fee448349
@@ -243,15 +243,15 @@ public class MasterKeyPasswordSafe extends BasePasswordSafeProvider {
else {
IdeFocusManager.getGlobalInstance().doWhenFocusSettlesDown(runnable);
}
}
try {
return (T)future.get();
}
catch (InterruptedException e) {
throw new ProcessCanceledException(e);
}
catch (ExecutionException e) {
throw (E) e.getCause();
try {
return (T)future.get();
}
catch (InterruptedException e) {
throw new ProcessCanceledException(e);
}
catch (ExecutionException e) {
throw (E) e.getCause();
}
}
}