You are here

class FileTransferException in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/FileTransfer/FileTransferException.php \Drupal\Core\FileTransfer\FileTransferException

FileTransferException class.

Hierarchy

  • class \Drupal\Core\FileTransfer\FileTransferException extends \Drupal\Core\FileTransfer\RuntimeException

Expanded class hierarchy of FileTransferException

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

File

core/lib/Drupal/Core/FileTransfer/FileTransferException.php, line 13
Contains \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.