code: public PropertyDescriptor getPropertyDescriptor(String propertyName)
      {
          final PropertyDescriptor propertyDescriptor = findPropertyDescriptor(propertyName);
  
          if (propertyDescriptor == null) {
              throw new PropertyNotFoundException(beanClass, propertyName);
          }
  
          return propertyDescriptor;
      }
docs: Get the property descriptor for the named property. Throws an exception if the property does not exist.
  
  @param propertyName property name
  @return the PropertyDescriptor for the named property
  @throws PropertyNotFoundException if the named property does not exist on the bean
  @see #findPropertyDescriptor(String)