You are here

public function InvalidFormatArchiveException::__construct in Mini site 8

InvalidFormatArchiveException constructor.

Parameters

string $filename: The file name that was validated.

File

src/Exception/InvalidFormatArchiveException.php, line 20

Class

InvalidFormatArchiveException
Class InvalidFormatArchiveException.

Namespace

Drupal\minisite\Exception

Code

public function __construct($filename) {
  parent::__construct(sprintf('File %s is not an archive file.', $filename));
}