W3cubDocs

/Drupal 8

function FileTransferException::__construct

FileTransferException::__construct($message, $code = 0, $arguments = array())

Constructs a FileTransferException object.

Parameters

string $message: Exception message.

int $code: Exception code.

array $arguments: Arguments to be used in this exception.

File

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

Class

FileTransferException
FileTransferException class.

Namespace

Drupal\Core\FileTransfer

Code

function __construct($message, $code = 0, $arguments = array()) {
  parent::__construct($message, $code);
  $this->arguments = $arguments;
}

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!FileTransfer!FileTransferException.php/function/FileTransferException::__construct/8.1.x