[platform] IJPL-1039: extend ProcessCanceledException from CancellationException

GitOrigin-RevId: 8edd7e83dc7029225e6d98f538428d6d6acfcc50
This commit is contained in:
Konstantin Nisht
2024-04-12 15:40:32 +02:00
committed by intellij-monorepo-bot
parent 5fcb10fa31
commit 12e78f18d6
24 changed files with 71 additions and 58 deletions

View File

@@ -2,7 +2,6 @@
package com.intellij.spellchecker;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.vfs.VfsUtil;
import com.intellij.openapi.vfs.VirtualFile;
import com.intellij.spellchecker.dictionary.Loader;
@@ -47,7 +46,7 @@ public final class FileLoader implements Loader {
br.lines().forEach(consumer);
}
}
catch (ProcessCanceledException | CancellationException exception) {
catch (CancellationException exception) {
throw exception;
}
catch (Exception e) {