mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
since IllegalStateException is translated into CorruptedException, its filtering no longer needed
This commit is contained in:
@@ -1083,7 +1083,7 @@ public class FileBasedIndex implements ApplicationComponent {
|
||||
public static @Nullable Throwable getCauseToRebuildIndex(RuntimeException e) {
|
||||
Throwable cause = e.getCause();
|
||||
if (cause instanceof StorageException || cause instanceof IOException ||
|
||||
cause instanceof IllegalArgumentException || cause instanceof IllegalStateException) return cause;
|
||||
cause instanceof IllegalArgumentException) return cause;
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user