public synchronized void writeCellsInRow(Cell[] headers) throws Exception {
        if ( null == currentSheet ) {
            throw new IllegalStateException("Please createWorksheet first.");
        }
        if ( null == headers ) {
            throw new IllegalArgumentException("Please provide not-null headers");
        }
        for ( Cell cell : headers ) {
            cell.writeTo(currentSheet);
        }
    }