public Object getValueAt(int row, int column) {
        switch(column) {
            case 0 : return rowHeadings[row];
            case 1 :
                switch (row) {
                    case 0 : return error.getClass().getSimpleName();
                    case 1 : return error.getSourceFile().getName();
                    case 2 : return error.getLineNo();
                    case 3 : 
                        String reason = error.getMessage();
                        if(error instanceof SyntaxError) {
                            reason = reason +  " at or around '" + 
                                    ((SyntaxError) error).getErrorText() + "'";
                        }
                        
                        return reason;
                    default : return null;
                }
            default : return null;
        }
    }