Cleanup (PCE logging)

This commit is contained in:
Roman Shevchenko
2016-12-08 15:38:32 +01:00
parent 45b08f7508
commit a35f5ce9e5
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2015 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -20,6 +20,7 @@ import com.intellij.CommonBundle;
import com.intellij.openapi.application.ApplicationManager;
import com.intellij.openapi.diagnostic.Logger;
import com.intellij.openapi.extensions.AbstractExtensionPointBean;
import com.intellij.openapi.progress.ProcessCanceledException;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.AtomicNotNullLazyValue;
import com.intellij.util.xmlb.annotations.AbstractCollection;
@@ -346,14 +347,11 @@ public class ConfigurableEP<T extends UnnamedConfigurable> extends AbstractExten
try {
return instantiate(myType, myContainer, true);
}
catch (AssertionError error) {
LOG.error(error);
catch (ProcessCanceledException exception) {
throw exception;
}
catch (LinkageError error) {
LOG.error(error);
}
catch (Exception exception) {
LOG.error(exception);
catch (AssertionError | LinkageError | Exception e) {
LOG.error(e);
}
return null;
}
@@ -367,4 +365,4 @@ public class ConfigurableEP<T extends UnnamedConfigurable> extends AbstractExten
return myType;
}
}
}
}