code: 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;
      }
docs: This is called by getMessage() when the resource bundle or the
  resource key for the message for this exception is not found.
  This method will try to retrieve a localized message for this situation.
  However, if there is a problem retrieving that message, at least
  provide some information in English (instead of nothing at all).
  
  @param resourceBundle java.lang.String
  @param resourceKey java.lang.String