code: Object getObject(Object scope, String propertyPath) throws TemplateException
    {
      Object object = getValue(scope, propertyPath);
      if(object == null) {
        warn(scope.getClass(), propertyPath);
      }
      return object;
    }
docs: Retrieve content object. Delegates {@link #getValue(Object, String)} to obtain the requested value. If value is
  null warn the event; in any case return value.
  
  @param scope scope object,
  @param propertyPath object property path.
  @return content object or null.
  @throws TemplateException if requested value is undefined.