ExecutorsQuery made transparent to INRE (EA-21144)

This commit is contained in:
Roman Shevchenko
2010-08-25 19:37:35 +04:00
parent 06b978f08d
commit fef2f997a7
2 changed files with 5 additions and 1 deletions
@@ -27,5 +27,5 @@ package com.intellij.openapi.project;
* @see com.intellij.openapi.project.DumbAware
* @author peter
*/
public class IndexNotReadyException extends RuntimeException{
public class IndexNotReadyException extends RuntimeException {
}
@@ -17,6 +17,7 @@ package com.intellij.util;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.project.IndexNotReadyException;
import org.jetbrains.annotations.NotNull;
import java.util.List;
@@ -45,6 +46,9 @@ public final class ExecutorsQuery<Result, Parameter> extends AbstractQuery<Resul
catch (ProcessCanceledException e) {
throw e;
}
catch (IndexNotReadyException e) {
throw e;
}
catch (Exception e) {
LOG.error(e);
}