提交 8b00bb1c 编写于 作者: D Dmitry Jemerov

rethrow ProcessCanceledException

上级 0876bc6b
......@@ -17,6 +17,7 @@
package org.jetbrains.jet.codegen;
import com.google.common.collect.Lists;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.util.Pair;
import com.intellij.psi.PsiElement;
import org.jetbrains.annotations.NotNull;
......@@ -274,6 +275,9 @@ public class ImplementationBodyCodegen extends ClassBodyCodegen {
catch (CompilationException e) {
throw e;
}
catch(ProcessCanceledException e) {
throw e;
}
catch(RuntimeException e) {
throw new RuntimeException("Error generating primary constructor of class " + myClass.getName() + " with kind " + kind, e);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册