public LimitOffsetPageRequest()

in src/main/java/com/epam/digital/data/platform/bphistory/service/api/model/LimitOffsetPageRequest.java [29:40]


  public LimitOffsetPageRequest(long offset, int limit, Sort sort) {
    if (offset < 0) {
      throw new IllegalArgumentException("Offset less than 0");
    }

    if (limit < 1) {
      throw new IllegalArgumentException("Limit less than 1");
    }
    this.limit = limit;
    this.offset = offset;
    this.sort = sort;
  }