mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
'AbstractExtensionPointBean::findClass' and 'instantiate' methods throws ClassNotFoundException which was usually wrapped to RuntimeException in the calling code, and therefore such exceptions were reported as core problems (IDEA-201589), and there were no simple way to find out which plugin caused the problem. Now 'findExtensionClass' and 'instantiateClass' methods are introduced, they throw ExtensionInitializationException instead which stores information about problematic plugin and this information is used by the error reporter. The old methods are deprecated and all their calls in IntelliJ sources are replaced by calls of the new methods. Also PluginException is now used to wrap other exceptions occurred during extensions' instantiations. GitOrigin-RevId: 664f254c505cd1bd690824d4e84f16da64ff8038