mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Parent exception should be passed to child exception.
This commit is contained in:
+1
-1
@@ -389,7 +389,7 @@ public class GroovyPsiElementFactoryImpl extends GroovyPsiElementFactory {
|
||||
return ((GrMethod)defintion);
|
||||
}
|
||||
catch (Exception error) {
|
||||
throw new IncorrectOperationException("Can't create method from text: '" + file.getText() + "'");
|
||||
throw new IncorrectOperationException("Can't create method from text: '" + file.getText() + "'", error);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user