ProviderCouldNotAddShareException.php 737 B

12345678910111213141516171819202122232425262728293031
  1. <?php
  2. /**
  3. * SPDX-FileCopyrightText: 2018 Nextcloud GmbH and Nextcloud contributors
  4. * SPDX-License-Identifier: AGPL-3.0-or-later
  5. */
  6. namespace OCP\Federation\Exceptions;
  7. use OCP\AppFramework\Http;
  8. use OCP\HintException;
  9. /**
  10. * Class ProviderCouldNotAddShareException
  11. *
  12. *
  13. * @since 14.0.0
  14. */
  15. class ProviderCouldNotAddShareException extends HintException {
  16. /**
  17. * ProviderCouldNotAddShareException constructor.
  18. *
  19. * @since 14.0.0
  20. *
  21. * @param string $message
  22. * @param string $hint
  23. * @param int $code
  24. * @param \Exception|null $previous
  25. */
  26. public function __construct($message, $hint = '', $code = Http::STATUS_BAD_REQUEST, ?\Exception $previous = null) {
  27. parent::__construct($message, $hint, $code, $previous);
  28. }
  29. }