class FileTransferException

FileTransferException class.

Hierarchy

Expanded class hierarchy of FileTransferException

3 files declare their use of FileTransferException
FileTransferTest.php in drupal/core/modules/system/lib/Drupal/system/Tests/FileTransfer/FileTransferTest.php
Definition of Drupal\system\Tests\FileTransfer\FileTransferTest.
TestFileTransfer.php in drupal/core/modules/system/lib/Drupal/system/Tests/FileTransfer/TestFileTransfer.php
Definition of Drupal\system\Tests\FileTransfer\TestFileTransfer.
Updater.php in drupal/core/lib/Drupal/Core/Updater/Updater.php
Definition of Drupal\Core\Updater\Updater.

File

drupal/core/lib/Drupal/Core/FileTransfer/FileTransferException.php, line 15
Definition of Drupal\Core\FileTransfer\FileTransferException.

Namespace

Drupal\Core\FileTransfer
View source
class FileTransferException extends RuntimeException {

  /**
   * Arguments to be used in this exception.
   *
   * @var array
   */
  public $arguments;

  /**
   * Constructs a FileTransferException object.
   *
   * @param string $message
   *   Exception message.
   * @param int $code
   *   Exception code.
   * @param array $arguments
   *   Arguments to be used in this exception.
   */
  function __construct($message, $code = 0, $arguments = array()) {
    parent::__construct($message, $code);
    $this->arguments = $arguments;
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FileTransferException::$arguments public property Arguments to be used in this exception.
FileTransferException::__construct function Constructs a FileTransferException object.