docs: public java.lang.String getMessage() {
          if (resourceBundleName != null && resourceKey != null) {
              String retrievedMessage = null;
              String internalMessage = null;
              String defaultEnglishMessage = null;
              ResourceBundle bundle = null;
  
              // retrieve the resource bundle
              try {
                  bundle = ResourceBundle.getBundle(resourceBundleName);
              } catch (MissingResourceException e) {
                  String key = null;
                  if (message == null) {
                      key = "missingResourceBundleNoDft";
                      defaultEnglishMessage = "There was an error retrieving resource bundle {0}. \nThere is no default message.";
                  } else {
                      key = "missingResourceBundleWithDft";
                      defaultEnglishMessage = "There was an error retrieving resource bundle {0}. \nThe default exception message is: {2}.";
                  }
  
                  internalMessage = getErrorMsg(DIST_EX_RESOURCE_BUNDLE_NAME, key, defaultEnglishMessage);
              }
  
              // if the resource bundle was successfully retrieved, get the specific message based
              // on the resource key
              if (bundle != null) {
                  try {
                      retrievedMessage = bundle.getString(resourceKey);
                  } catch (MissingResourceException e) {
                      String key = null;
                      if (message == null) {
                          key = "missingResourceKeyNoDft";
                          defaultEnglishMessage = "There was an error retrieving resource key {1} in resource bundle {0}. \nThere is no default message.";
                      } else {
                          key = "missingResourceKeyWithDft";
                          defaultEnglishMessage = "There was an error retrieving resource key {1} in resource bundle {0}. \nThe default exception message is: {2}.";
                      }
  
                      internalMessage = getErrorMsg(DIST_EX_RESOURCE_BUNDLE_NAME, key, defaultEnglishMessage);
                  }
  
              }
  
              String formattedMessage = null;
  
              // format the message
              if (retrievedMessage != null) {
                  if (formatArguments != null) {
                      formattedMessage = MessageFormat.format(retrievedMessage, formatArguments);
                  } else {
                      formattedMessage = retrievedMessage;
                  }
  
              } else if (internalMessage != null) {
                  Object intFormatArguments[] = { resourceBundleName, resourceKey, message };
                  formattedMessage = MessageFormat.format(internalMessage, intFormatArguments);
              } else { // shouldn't happen
                  return message; // which could be null
              }
  
              return formattedMessage;
          } else { // resource information does not exist, so return the default message, if provided
              return message;
          }
      }