private static void showInvalidInput(Exception e) {
    Throwable cause = e.getCause();
    String message = cause == null ? e.getMessage() : cause.getMessage();

    if (message == null || message.isEmpty()) {
      message = IdeBundle.message("dialog.message.no.message");
    }

    Messages.showMessageDialog(IdeBundle.message("dialog.message.error.setting.value", message),
                               IdeBundle.message("dialog.title.invalid.input"),
                               Messages.getErrorIcon());
  }
private static void showInvalidInput(Exception e)