You are here

class MissingArchiveException in Mini site 8

Class MissingArchiveException.

Thrown when archive file is missing.

@package Drupal\minisite\Exception

Hierarchy

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\Exception
View 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

Namesort descending Modifiers Type Description Overrides
MissingArchiveException::__construct public function MissingArchiveException constructor.