code: public static String getStringProperty(Configuration config, String key,
                                             String defaultValue) throws DeployerConfigurationException {
          try {
              return config.getString(key, defaultValue);
          } catch (Exception e) {
              throw new DeployerConfigurationException("Failed to retrieve property '" + key + "'", e);
          }
      }
docs: Returns the specified String property from the configuration
  
  @param config       the configuration
  @param key          the key of the property
  @param defaultValue the default value if the property is not found
  @return the String value of the property, or the default value if not found
  @throws DeployerConfigurationException if an error occurred