original_string: protected function _write($data)
      {
          $result = @fwrite($this->_fileHandler, $data);
  
          if (false === $result) {
              throw new Mage_Exception('Failed to write data to ' . $this->_filePath);
          }
      }
code: protected function _write($data)
      {
          $result = @fwrite($this->_fileHandler, $data);
  
          if (false === $result) {
              throw new Mage_Exception('Failed to write data to ' . $this->_filePath);
          }
      }
code_tokens: protected function _write ( $ data ) { $ result = @ fwrite ( $ this -> _fileHandler , $ data ) ; if ( false === $ result ) { throw new Mage_Exception ( 'Failed to write data to ' . $ this -> _filePath ) ; } }
docstring: Implementation of writing data to file
  
  @param string $data
  @throws Mage_Exception
docstring_tokens: Implementation of writing data to file