docs: public int setSizeLimit(final int limit)
      {
          if (limit < 0)
          {
              throw new IllegalArgumentException(
                      "Size limit cannot be negative: " + limit);
          }
          final int oldLimit = sizeLimit;
          sizeLimit = limit;
          return oldLimit;
      }