code: public static String getReqProperty(final MessageResources msg,
                                        final String pname) throws Throwable {
      String p = getProperty(msg, pname, null);
      if (p == null) {
        logger.error("No definition for property " + pname);
  
        throw new Exception(": No definition for property " + pname);
      }
  
      return p;
    }
docs: Return a required property value
  
  @param msg      MessageResources object
  @param pname    name of the property
  @return String  property value
  @throws Throwable on error