protected function _write($data)
    {
        $result = @fwrite($this->_fileHandler, $data);

        if (false === $result) {
            throw new Mage_Exception('Failed to write data to ' . $this->_filePath);
        }
    }
protected function _write($data)
    {
        $result = @fwrite($this->_fileHandler, $data);

        if (false === $result) {
            throw new Mage_Exception('Failed to write data to ' . $this->_filePath);
        }
    }
protected function _write ( $ data ) { $ result = @ fwrite ( $ this -> _fileHandler , $ data ) ; if ( false === $ result ) { throw new Mage_Exception ( 'Failed to write data to ' . $ this -> _filePath ) ; } }
Implementation of writing data to file

@param string $data
@throws Mage_Exception
Implementation of writing data to file