class HashGeneratorMaker {

    public HashGeneratorMaker depth(int depth) {
        if (depth < 0) throw new IllegalArgumentException("depth must not be less than 0");
        this.depth = depth;
        return this;
    }

}