diff options
author | Morris Jobke <hey@morrisjobke.de> | 2016-10-05 23:46:21 +0200 |
---|---|---|
committer | Morris Jobke <hey@morrisjobke.de> | 2016-10-05 23:47:00 +0200 |
commit | 316db0a97b0212aca2f36b4ee09675bf9809f4dd (patch) | |
tree | 298f490ef12a4b3c1adfa161c5775d97d84aa4e2 /lib | |
parent | 7512683ea92127b06cd3a77e7f53d213d9e2fdb6 (diff) | |
download | nextcloud-server-316db0a97b0212aca2f36b4ee09675bf9809f4dd.tar.gz nextcloud-server-316db0a97b0212aca2f36b4ee09675bf9809f4dd.zip |
add proper exception documentation for ISimpleFS interface
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/public/Files/SimpleFS/ISimpleRoot.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/Files/SimpleFS/ISimpleRoot.php b/lib/public/Files/SimpleFS/ISimpleRoot.php index a9b00540eb2..c2f9d4ff05d 100644 --- a/lib/public/Files/SimpleFS/ISimpleRoot.php +++ b/lib/public/Files/SimpleFS/ISimpleRoot.php @@ -23,6 +23,7 @@ namespace OCP\Files\SimpleFS; use OCP\Files\NotFoundException; +use OCP\Files\NotPermittedException; /** * Interface ISimpleRoot @@ -38,6 +39,7 @@ interface ISimpleRoot { * @param string $name * @return ISimpleFolder * @throws NotFoundException + * @throws \RuntimeException * @since 9.2.0 */ public function getFolder($name); @@ -46,6 +48,8 @@ interface ISimpleRoot { * Get all the Folders * * @return ISimpleFolder[] + * @throws NotFoundException + * @throws \RuntimeException * @since 9.2.0 */ public function getDirectoryListing(); @@ -55,6 +59,8 @@ interface ISimpleRoot { * * @param string $name * @return ISimpleFolder + * @throws NotPermittedException + * @throws \RuntimeException * @since 9.2.0 */ public function newFolder($name); |