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