DoesNotExistException.php 600 B

12345678910111213141516171819202122232425
  1. <?php
  2. declare(strict_types=1);
  3. /**
  4. * SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
  5. * SPDX-FileCopyrightText: 2016 ownCloud, Inc.
  6. * SPDX-License-Identifier: AGPL-3.0-only
  7. */
  8. namespace OCP\AppFramework\Db;
  9. /**
  10. * This is returned or should be returned when a find request does not find an
  11. * entry in the database
  12. * @since 7.0.0
  13. */
  14. class DoesNotExistException extends \Exception implements IMapperException {
  15. /**
  16. * Constructor
  17. * @param string $msg the error message
  18. * @since 7.0.0
  19. */
  20. public function __construct($msg) {
  21. parent::__construct($msg);
  22. }
  23. }