code: public static void throwIfNull(Object propertyValue, String propertyName, Class beanClass) {
  
  		if (propertyValue == null) {
  			throw new PropertyNotSetException(beanClass, propertyName);
  		}
  
  	}
docs: Throws an instance of this exception if the given {@code propertyValue}
  is null.
  
  @param propertyValue The value of the property.
  @param propertyName The name of the property.
  @param beanClass The class on which the property is supposed to be set.
  
  @throws PropertyNotSetException if {@code propertyValue} is null.