code: static <T> T newInstance(Class<T> cls) {
          try {
              return cls.newInstance();
          } catch (Exception e) {
              throw wrap(e);
          }
      }
docs: Create a new instance of a class, wrap exceptions.
  
  @param cls
  
  @return The new instance.