mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
rethrow OutOfMemoryError
This commit is contained in:
@@ -288,11 +288,17 @@ public class GroovyDslFileIndex extends ScalarIndexExtension<String> {
|
||||
if (cause instanceof ProcessCanceledException) {
|
||||
throw (ProcessCanceledException)cause;
|
||||
}
|
||||
if (cause instanceof OutOfMemoryError) {
|
||||
throw (OutOfMemoryError)cause;
|
||||
}
|
||||
handleDslError(e, project, dslFile);
|
||||
}
|
||||
catch (ProcessCanceledException e) {
|
||||
throw e;
|
||||
}
|
||||
catch (OutOfMemoryError e) {
|
||||
throw e;
|
||||
}
|
||||
catch (Throwable e) { // To handle exceptions in definition script
|
||||
handleDslError(e, project, dslFile);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user