code: public <T> T getPropertyValueAs(final String propertyName, final Class<T> type) {
      return convert(getPropertyValue(propertyName, DEFAULT_REQUIRED), type);
    }
docs: Gets the value of the configuration property identified by name as a value of the specified Class type.
  The property is required to be declared and defined otherwise a ConfigurationException is thrown.
  
  @param propertyName a String value indicating the name of the configuration property.
  @param type the expected Class type of the configuration property value.
  @return the value of the configuration property identified by name.
  @throws ConfigurationException if the property value was undeclared or is undefined.