summaryrefslogtreecommitdiffstats
path: root/lib/public/AppFramework/QueryException.php
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@winzerhof-wurst.at>2020-07-13 11:18:14 +0200
committerChristoph Wurst <christoph@winzerhof-wurst.at>2020-07-16 13:35:45 +0200
commit4152216bd8cf9d49e6749d26bb8b491dd49b089b (patch)
tree3b626622b1c22dad13bcc07bf7bdcd7bccb96bf3 /lib/public/AppFramework/QueryException.php
parentb12d3691c332480bc20e341b1bc23cb75977f148 (diff)
downloadnextcloud-server-4152216bd8cf9d49e6749d26bb8b491dd49b089b.tar.gz
nextcloud-server-4152216bd8cf9d49e6749d26bb8b491dd49b089b.zip
Use PSR container interface and deprecate our own abstraction
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/public/AppFramework/QueryException.php')
-rw-r--r--lib/public/AppFramework/QueryException.php9
1 files changed, 8 insertions, 1 deletions
diff --git a/lib/public/AppFramework/QueryException.php b/lib/public/AppFramework/QueryException.php
index 1bb03b8f217..c4f401532be 100644
--- a/lib/public/AppFramework/QueryException.php
+++ b/lib/public/AppFramework/QueryException.php
@@ -1,4 +1,7 @@
<?php
+
+declare(strict_types=1);
+
/**
* @copyright Copyright (c) 2016, ownCloud, Inc.
*
@@ -25,12 +28,16 @@
namespace OCP\AppFramework;
use Exception;
+use Psr\Container\ContainerExceptionInterface;
/**
* Class QueryException
*
+ * The class extends `NotFoundExceptionInterface` since 20.0.0
+ *
* @package OCP\AppFramework
* @since 8.1.0
+ * @deprecated 20.0.0 catch \Psr\Container\ContainerExceptionInterface
*/
-class QueryException extends Exception {
+class QueryException extends Exception implements ContainerExceptionInterface {
}