PluginException (@NotNull Throwable cause, @NotNull Class<?> pluginClass) { String message = cause.getMessage(); return PluginProblemReporter.getInstance().createPluginExceptionByClass(message != null ? message : "", cause, pluginClass); }