void onError(@DialogMessage @NotNull String text, @NotNull JComponent component, boolean forbidSave);
void onError(@DialogMessage @NotNull String text, @NotNull JComponent component, boolean forbidSave)