function ArchiveTar::_warning

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar::_warning()
  2. 10 core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar::_warning()
  3. 11.x core/lib/Drupal/Core/Archiver/ArchiveTar.php \Drupal\Core\Archiver\ArchiveTar::_warning()

File

core/lib/Drupal/Core/Archiver/ArchiveTar.php, line 20

Class

ArchiveTar
Extends Pear's Archive_Tar to use exceptions.

Namespace

Drupal\Core\Archiver

Code

public function _warning($p_message) {
    throw new \Exception($p_message);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.