Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. FileTransferException.php

class FileTransferException

Exception thrown for file transfer errors.

Hierarchy

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

Expanded class hierarchy of FileTransferException

1 file declares its use of FileTransferException
Updater.php in core/lib/Drupal/Core/Updater/Updater.php

File

core/lib/Drupal/Core/FileTransfer/FileTransferException.php, line 8

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.
     */
    public function __construct($message, $code = 0, $arguments = []) {
        parent::__construct($message, $code);
        $this->arguments = $arguments;
    }

}

Members

Title Sort descending Modifiers Object type Summary
FileTransferException::$arguments public property Arguments to be used in this exception.
FileTransferException::__construct public function Constructs a FileTransferException object.

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal