public void setLimitLines(int maximumLines)
    {
        if (maximumLines < 1)
        {
            String message = "Maximum lines must be greater than 0";
            throw new IllegalArgumentException(message);
        }

        this.maximumLines = maximumLines;
    }