docs: private String getErrorMsg(String resourceBundle, String resourceKey, String defaultEnglishMessage) {
          ResourceBundle bundle = null;
          String errorMsg = null;
  
          try {
              bundle = ResourceBundle.getBundle(resourceBundle);
          } catch (MissingResourceException e) {
              errorMsg = defaultEnglishMessage;
          }
  
          if (bundle != null) {
              try {
                  errorMsg = bundle.getString(resourceKey);
              } catch (MissingResourceException e) {
                  errorMsg = defaultEnglishMessage;
              }
          }
  
          return errorMsg;
      }