2023-06-27 10:51:30 -04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
|
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2023 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2023-06-27 10:51:30 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP\Common\Exception;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This is thrown whenever something was expected to exist but doesn't
|
|
|
|
|
*
|
2023-07-07 07:46:03 -04:00
|
|
|
* @since 27.1.0
|
2023-06-27 10:51:30 -04:00
|
|
|
*/
|
|
|
|
|
class NotFoundException extends \Exception {
|
|
|
|
|
/**
|
|
|
|
|
* Constructor
|
|
|
|
|
* @param string $msg the error message
|
2023-07-07 07:46:03 -04:00
|
|
|
* @since 27.1.0
|
2023-06-27 10:51:30 -04:00
|
|
|
*/
|
2023-07-07 05:47:27 -04:00
|
|
|
public function __construct(string $msg) {
|
2023-06-27 10:51:30 -04:00
|
|
|
parent::__construct($msg);
|
|
|
|
|
}
|
|
|
|
|
}
|