InvalidFormatArchiveException.php in Mini site 8
Namespace
Drupal\minisite\ExceptionFile
src/Exception/InvalidFormatArchiveException.phpView source
<?php
namespace Drupal\minisite\Exception;
/**
* Class InvalidFormatArchiveException.
*
* Thrown when archive format is invalid.
*
* @package Drupal\minisite\Exception
*/
class InvalidFormatArchiveException extends ArchiveException {
/**
* InvalidFormatArchiveException constructor.
*
* @param string $filename
* The file name that was validated.
*/
public function __construct($filename) {
parent::__construct(sprintf('File %s is not an archive file.', $filename));
}
}
Classes
Name | Description |
---|---|
InvalidFormatArchiveException | Class InvalidFormatArchiveException. |