code: public static <T> Constructor<T> getConstructor(Class<T> cls, Class... params) {
          try {
              return cls.getConstructor(params);
          } catch (Exception e) {
              throw new ClientException(e);
          }
      }
docs: Finds a constructor and hides all checked exceptions.
  @param cls       target class
  @param params    zero, one or more parameter types
  @param <T>       target type
  @return its constructor object