mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Cleanup (PCE logging)
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user