2015-09-05 11:50:02 -04:00
|
|
|
<?php
|
2021-04-26 06:33:36 -04:00
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
2015-09-05 11:50:02 -04:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2015-09-05 11:50:02 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* Exception for when a not allowed path is attempted to be autoloaded
|
|
|
|
|
* @since 8.2.0
|
|
|
|
|
*/
|
|
|
|
|
class AutoloadNotAllowedException extends \DomainException {
|
|
|
|
|
/**
|
|
|
|
|
* @param string $path
|
|
|
|
|
* @since 8.2.0
|
|
|
|
|
*/
|
|
|
|
|
public function __construct($path) {
|
2024-09-19 05:10:31 -04:00
|
|
|
parent::__construct('Autoload path not allowed: ' . $path);
|
2015-09-05 11:50:02 -04:00
|
|
|
}
|
|
|
|
|
}
|