Pull merge.
[yaffs-website] / web / core / lib / Drupal / Core / FileTransfer / FileTransferException.php
1 <?php
2
3 namespace Drupal\Core\FileTransfer;
4
5 /**
6  * FileTransferException class.
7  */
8 class FileTransferException extends \RuntimeException {
9
10   /**
11    * Arguments to be used in this exception.
12    *
13    * @var array
14    */
15   public $arguments;
16
17   /**
18    * Constructs a FileTransferException object.
19    *
20    * @param string $message
21    *   Exception message.
22    * @param int $code
23    *   Exception code.
24    * @param array $arguments
25    *   Arguments to be used in this exception.
26    */
27   public function __construct($message, $code = 0, $arguments = []) {
28     parent::__construct($message, $code);
29     $this->arguments = $arguments;
30   }
31
32 }