try to proceed batch inspections after Throwable (IDEA-110920)

This commit is contained in:
anna
2013-07-23 19:11:10 +02:00
parent 14c4ad033a
commit 0318162162
2 changed files with 5 additions and 8 deletions
@@ -298,7 +298,7 @@ public class GlobalInspectionContextBase extends UserDataHolderBase implements G
DumbService.getInstance(myProject).showDumbModeNotification("Usage search is not available until indices are ready");
throw new ProcessCanceledException();
}
catch (Exception e) {
catch (Throwable e) {
LOG.error(e);
}
finally {
@@ -195,7 +195,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
InspectionToolPresentation presentation = getPresentation(toolWrapper);
presentation.exportResults(element, refEntity);
}
catch (Exception e) {
catch (Throwable e) {
LOG.error("Problem when exporting: " + refEntity.getExternalName(), e);
}
}
@@ -370,10 +370,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
catch (IndexNotReadyException e) {
throw e;
}
catch (Exception e) {
LOG.error("In file: " + file, e);
}
catch (AssertionError e) {
catch (Throwable e) {
LOG.error("In file: " + file, e);
}
finally {
@@ -412,7 +409,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
catch (IndexNotReadyException e) {
throw e;
}
catch (Exception e) {
catch (Throwable e) {
LOG.error(e);
}
}
@@ -427,7 +424,7 @@ public class GlobalInspectionContextImpl extends GlobalInspectionContextBase imp
catch (IndexNotReadyException e) {
throw e;
}
catch (Exception e) {
catch (Throwable e) {
LOG.error(e);
}
}