2014-04-19 08:56:16 -04:00
|
|
|
<?php
|
2019-12-03 13:57:53 -05:00
|
|
|
|
2018-12-06 09:45:28 -05:00
|
|
|
declare(strict_types=1);
|
2014-04-19 08:56:16 -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
|
2014-04-19 08:56:16 -04:00
|
|
|
*/
|
|
|
|
|
namespace OCP\AppFramework\Db;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* This is returned or should be returned when a find request does not find an
|
|
|
|
|
* entry in the database
|
2015-04-16 11:00:08 -04:00
|
|
|
* @since 7.0.0
|
2014-04-19 08:56:16 -04:00
|
|
|
*/
|
2018-12-06 09:45:28 -05:00
|
|
|
class DoesNotExistException extends \Exception implements IMapperException {
|
2014-04-19 08:56:16 -04:00
|
|
|
/**
|
|
|
|
|
* Constructor
|
|
|
|
|
* @param string $msg the error message
|
2015-06-19 04:51:36 -04:00
|
|
|
* @since 7.0.0
|
2014-04-19 08:56:16 -04:00
|
|
|
*/
|
2020-04-09 07:53:40 -04:00
|
|
|
public function __construct($msg) {
|
2014-04-19 08:56:16 -04:00
|
|
|
parent::__construct($msg);
|
|
|
|
|
}
|
2015-04-16 11:00:08 -04:00
|
|
|
}
|