code: private <T> T assertReqProp(String key,T val) {
          if(val == null){
              throw new RuntimeException("The property [" + key + "] is not present ");
          }
          return val;
      }
docs: =============