mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
ExecutorsQuery made transparent to INRE (EA-21144)
This commit is contained in:
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user