function ArchiveTar::_error

20 calls to ArchiveTar::_error()
ArchiveTar::addModify in drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php
This method add the files / directories listed in $p_filelist at the end of the existing archive. If the archive does not yet exists it is created. The $p_filelist parameter can be an array of string, each string representing a filename or a directory…
ArchiveTar::createModify in drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php
This method creates the archive file and add the files / directories that are listed in $p_filelist. If the file already exists and is writable, it is replaced by the new tar. It is a create and not an add. If the file exists and is read-only or is a…
ArchiveTar::extractList in drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php
This method extract from the archive only the files indicated in the $p_filelist. These files are extracted in the current directory or in the directory indicated by the optional $p_path parameter. If indicated the $p_remove_path can be used in the…
ArchiveTar::setAttribute in drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php
This method set specific attributes of the archive. It uses a variable list of parameters, in the format attribute code + attribute values : $arch->setAttribute(ARCHIVE_TAR_ATT_SEPARATOR, ',');
ArchiveTar::_addFile in drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php

... See full list

File

drupal/core/lib/Drupal/Component/Archiver/ArchiveTar.php, line 635

Class

ArchiveTar
Creates a (compressed) Tar archive

Namespace

Drupal\Component\Archiver

Code

function _error($p_message) {

  // ----- To be completed
  //        $this->raiseError($p_message);
  throw new Exception($p_message);
}