diff options
author | Joas Schilling <nickvergessen@owncloud.com> | 2015-02-27 12:16:53 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@owncloud.com> | 2015-02-27 12:16:53 +0100 |
commit | 3a6a0501c438d0bf95fd84c1c87edd24f0caa710 (patch) | |
tree | f3de57524d6afcbecb695e8fe0c3021860af2dbc /lib/public/files/node.php | |
parent | 7fe07e93fe4706962d2957d252b009513459d15e (diff) | |
download | nextcloud-server-3a6a0501c438d0bf95fd84c1c87edd24f0caa710.tar.gz nextcloud-server-3a6a0501c438d0bf95fd84c1c87edd24f0caa710.zip |
Add "throws" lines to calling methods and interface aswell
Diffstat (limited to 'lib/public/files/node.php')
-rw-r--r-- | lib/public/files/node.php | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/public/files/node.php b/lib/public/files/node.php index c3434b4b609..74355d10e80 100644 --- a/lib/public/files/node.php +++ b/lib/public/files/node.php @@ -89,6 +89,8 @@ interface Node extends FileInfo { * Get the internal file id for the file or folder * * @return int + * @throws InvalidPathException + * @throws NotFoundException */ public function getId(); @@ -106,6 +108,8 @@ interface Node extends FileInfo { * Get the modified date of the file or folder as unix timestamp * * @return int + * @throws InvalidPathException + * @throws NotFoundException */ public function getMTime(); @@ -113,6 +117,8 @@ interface Node extends FileInfo { * Get the size of the file or folder in bytes * * @return int + * @throws InvalidPathException + * @throws NotFoundException */ public function getSize(); @@ -122,6 +128,8 @@ interface Node extends FileInfo { * every time the file or folder is changed the Etag will change to * * @return string + * @throws InvalidPathException + * @throws NotFoundException */ public function getEtag(); @@ -135,6 +143,8 @@ interface Node extends FileInfo { * - \OCP\Constants::PERMISSION_SHARE * * @return int + * @throws InvalidPathException + * @throws NotFoundException */ public function getPermissions(); @@ -142,6 +152,8 @@ interface Node extends FileInfo { * Check if the file or folder is readable * * @return bool + * @throws InvalidPathException + * @throws NotFoundException */ public function isReadable(); @@ -149,6 +161,8 @@ interface Node extends FileInfo { * Check if the file or folder is writable * * @return bool + * @throws InvalidPathException + * @throws NotFoundException */ public function isUpdateable(); @@ -156,6 +170,8 @@ interface Node extends FileInfo { * Check if the file or folder is deletable * * @return bool + * @throws InvalidPathException + * @throws NotFoundException */ public function isDeletable(); @@ -163,6 +179,8 @@ interface Node extends FileInfo { * Check if the file or folder is shareable * * @return bool + * @throws InvalidPathException + * @throws NotFoundException */ public function isShareable(); |