diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-09-10 19:44:23 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-09-10 19:44:23 +0200 |
commit | e271a55783dafd605791d02ca718b463fa19d58d (patch) | |
tree | e6f78647dcacfa23a7bac1db6a88e00c5edfd3ea /lib/public/files | |
parent | 315344eb9cc58dda23bfe52c1413ad963265a9cb (diff) | |
download | nextcloud-server-e271a55783dafd605791d02ca718b463fa19d58d.tar.gz nextcloud-server-e271a55783dafd605791d02ca718b463fa19d58d.zip |
move filesystem expceptions to global namespace
Diffstat (limited to 'lib/public/files')
-rw-r--r-- | lib/public/files/alreadyexistsexception.php | 11 | ||||
-rw-r--r-- | lib/public/files/notenoughspaceexception.php | 11 | ||||
-rw-r--r-- | lib/public/files/notfoundexception.php | 11 | ||||
-rw-r--r-- | lib/public/files/notpermittedexception.php | 11 |
4 files changed, 44 insertions, 0 deletions
diff --git a/lib/public/files/alreadyexistsexception.php b/lib/public/files/alreadyexistsexception.php new file mode 100644 index 00000000000..32947c7a5c3 --- /dev/null +++ b/lib/public/files/alreadyexistsexception.php @@ -0,0 +1,11 @@ +<?php +/** + * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OCP\Files; + +class AlreadyExistsException extends \Exception {} diff --git a/lib/public/files/notenoughspaceexception.php b/lib/public/files/notenoughspaceexception.php new file mode 100644 index 00000000000..e51806666ad --- /dev/null +++ b/lib/public/files/notenoughspaceexception.php @@ -0,0 +1,11 @@ +<?php +/** + * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OCP\Files; + +class NotEnoughSpaceException extends \Exception {} diff --git a/lib/public/files/notfoundexception.php b/lib/public/files/notfoundexception.php new file mode 100644 index 00000000000..1ff426a40c6 --- /dev/null +++ b/lib/public/files/notfoundexception.php @@ -0,0 +1,11 @@ +<?php +/** + * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OCP\Files; + +class NotFoundException extends \Exception {} diff --git a/lib/public/files/notpermittedexception.php b/lib/public/files/notpermittedexception.php new file mode 100644 index 00000000000..0509de7e829 --- /dev/null +++ b/lib/public/files/notpermittedexception.php @@ -0,0 +1,11 @@ +<?php +/** + * Copyright (c) 2013 Robin Appelman <icewind@owncloud.com> + * This file is licensed under the Affero General Public License version 3 or + * later. + * See the COPYING-README file. + */ + +namespace OCP\Files; + +class NotPermittedException extends \Exception {} |