class MissingArchiveException in Mini site 8
Class MissingArchiveException.
Thrown when archive file is missing.
@package Drupal\minisite\Exception
Hierarchy
- class \Drupal\minisite\Exception\ArchiveException extends \Drupal\minisite\Exception\Exception
- class \Drupal\minisite\Exception\MissingArchiveException
Expanded class hierarchy of MissingArchiveException
2 files declare their use of MissingArchiveException
- Minisite.php in src/
Minisite.php - MinisiteTest.php in tests/
src/ Functional/ MinisiteTest.php
File
- src/
Exception/ MissingArchiveException.php, line 12
Namespace
Drupal\minisite\ExceptionView source
class MissingArchiveException extends ArchiveException {
/**
* MissingArchiveException constructor.
*
* @param string $uri
* The URI of the missing archive file.
*/
public function __construct($uri) {
parent::__construct(sprintf('Archive file "%s" is missing.', $uri));
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
MissingArchiveException:: |
public | function | MissingArchiveException constructor. |