protected void addLine(String line) {
        if (line == null) {
            IllegalArgumentException iae = new IllegalArgumentException("The line must not be null!");
            Main.handleUnhandableProblem(iae);
        }

        this.uiFileLines.add(line);
    }