You are here

public function FileTransferException::__construct in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/FileTransfer/FileTransferException.php \Drupal\Core\FileTransfer\FileTransferException::__construct()

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

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