function Archive_Tar::_error

7.x system.tar.inc Archive_Tar::_error($p_message)
20 calls to Archive_Tar::_error()
Archive_Tar::addModify in drupal-7.x/modules/system/system.tar.inc
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…
Archive_Tar::createModify in drupal-7.x/modules/system/system.tar.inc
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…
Archive_Tar::extractList in drupal-7.x/modules/system/system.tar.inc
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…
Archive_Tar::setAttribute in drupal-7.x/modules/system/system.tar.inc
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, ',');
Archive_Tar::_addFile in drupal-7.x/modules/system/system.tar.inc

... See full list

File

drupal-7.x/modules/system/system.tar.inc, line 631

Class

Archive_Tar
Creates a (compressed) Tar archive *

Code

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