diff options
author | Robin Appelman <icewind@owncloud.com> | 2013-09-01 19:47:48 +0200 |
---|---|---|
committer | Robin Appelman <icewind@owncloud.com> | 2013-09-01 19:47:48 +0200 |
commit | a22f9ff301312bb24332edaacfb65c280cd8fcd8 (patch) | |
tree | 8c7f8793675a5ec7d7db4dd0cb50fc1b259efca0 /lib/files/exceptions.php | |
parent | 92e90c8eb995c886b3e9cd77c14e3f0b25b95cd7 (diff) | |
download | nextcloud-server-a22f9ff301312bb24332edaacfb65c280cd8fcd8.tar.gz nextcloud-server-a22f9ff301312bb24332edaacfb65c280cd8fcd8.zip |
Provide an implementation of the fileapi for oc6 build on top of the old api
Diffstat (limited to 'lib/files/exceptions.php')
-rw-r--r-- | lib/files/exceptions.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/files/exceptions.php b/lib/files/exceptions.php new file mode 100644 index 00000000000..8a3c40ab0c0 --- /dev/null +++ b/lib/files/exceptions.php @@ -0,0 +1,21 @@ +<?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 OC\Files; + +class NotFoundException extends \Exception { +} + +class NotPermittedException extends \Exception { +} + +class AlreadyExistsException extends \Exception { +} + +class NotEnoughSpaceException extends \Exception { +} |