class FileTransferException in Drupal 8
Same name and namespace in other branches
- 9 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/ tests/ src/ Functional/ FileTransfer/ FileTransferTest.php - TestFileTransfer.php in core/
modules/ system/ tests/ src/ Functional/ FileTransfer/ TestFileTransfer.php - Updater.php in core/
lib/ Drupal/ Core/ Updater/ Updater.php
File
- core/
lib/ Drupal/ Core/ FileTransfer/ FileTransferException.php, line 8
Namespace
Drupal\Core\FileTransferView 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.
*/
public function __construct($message, $code = 0, $arguments = []) {
parent::__construct($message, $code);
$this->arguments = $arguments;
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FileTransferException:: |
public | property | Arguments to be used in this exception. | |
FileTransferException:: |
public | function | Constructs a FileTransferException object. |