class SandboxException

Base class for all exceptions related to stage operations.

Should not be thrown by external code.

Hierarchy

  • class \Drupal\package_manager\Exception\SandboxException extends \Drupal\package_manager\Exception\RuntimeException

Expanded class hierarchy of SandboxException

6 files declare their use of SandboxException
LockFileValidatorTest.php in core/modules/package_manager/tests/src/Kernel/LockFileValidatorTest.php
SandboxManagerBase.php in core/modules/package_manager/src/SandboxManagerBase.php
SandboxManagerBaseTest.php in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
StageCommitExceptionTest.php in core/modules/package_manager/tests/src/Kernel/StageCommitExceptionTest.php
StageConflictTest.php in core/modules/package_manager/tests/src/Kernel/StageConflictTest.php

... See full list

File

core/modules/package_manager/src/Exception/SandboxException.php, line 14

Namespace

Drupal\package_manager\Exception
View source
class SandboxException extends \RuntimeException {
    
    /**
     * Constructs a StageException object.
     *
     * @param \Drupal\package_manager\SandboxManagerBase $sandboxManager
     *   The stage.
     * @param mixed ...$arguments
     *   Additional arguments to pass to the parent constructor.
     */
    public function __construct(SandboxManagerBase $sandboxManager, ...$arguments) {
        parent::__construct(...$arguments);
    }

}

Members

Title Sort descending Modifiers Object type Summary Overrides
SandboxException::__construct public function Constructs a StageException object. 1

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.