summaryrefslogtreecommitdiffstats
path: root/lib/public
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-11-19 15:34:07 +0100
committerMorris Jobke <hey@morrisjobke.de>2018-11-19 15:34:07 +0100
commitcef8eadf2a69a38475a67c575957674ae41c136d (patch)
tree83b7d905befab39e96afad6376fa5839f535d386 /lib/public
parent35251928d57092a50529da8d439c0de3cf428298 (diff)
downloadnextcloud-server-cef8eadf2a69a38475a67c575957674ae41c136d.tar.gz
nextcloud-server-cef8eadf2a69a38475a67c575957674ae41c136d.zip
Add PHPDoc for thrown exception
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib/public')
-rw-r--r--lib/public/Files/ObjectStore/IObjectStore.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/public/Files/ObjectStore/IObjectStore.php b/lib/public/Files/ObjectStore/IObjectStore.php
index 8e9df5a55a3..628fd5852da 100644
--- a/lib/public/Files/ObjectStore/IObjectStore.php
+++ b/lib/public/Files/ObjectStore/IObjectStore.php
@@ -23,6 +23,8 @@
*/
namespace OCP\Files\ObjectStore;
+use OCP\Files\NotFoundException;
+
/**
* Interface IObjectStore
*
@@ -41,6 +43,7 @@ interface IObjectStore {
* @param string $urn the unified resource name used to identify the object
* @return resource stream with the read data
* @throws \Exception when something goes wrong, message will be logged
+ * @throws NotFoundException if file does not exist
* @since 7.0.0
*/
public function readObject($urn);