summaryrefslogtreecommitdiffstats
path: root/lib/public/files
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-30 15:46:37 +0200
committerRobin Appelman <icewind@owncloud.com>2014-06-30 15:46:37 +0200
commitd78a2a9f78dc2a65bffa8f3fc4299c4540c4d5be (patch)
tree3c5f84e6271daadf1a513b262d8d3ddba5385c4e /lib/public/files
parentd94d307f522ce724ac288f57f563338f7229db4c (diff)
downloadnextcloud-server-d78a2a9f78dc2a65bffa8f3fc4299c4540c4d5be.tar.gz
nextcloud-server-d78a2a9f78dc2a65bffa8f3fc4299c4540c4d5be.zip
Add StorageNotAvailableException
Diffstat (limited to 'lib/public/files')
-rw-r--r--lib/public/files/storagenotavailableexception.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/lib/public/files/storagenotavailableexception.php b/lib/public/files/storagenotavailableexception.php
new file mode 100644
index 00000000000..fcc0c9cacfe
--- /dev/null
+++ b/lib/public/files/storagenotavailableexception.php
@@ -0,0 +1,19 @@
+<?php
+/**
+ * Copyright (c) 2014 Robin Appelman <icewind@owncloud.com>
+ * This file is licensed under the Affero General Public License version 3 or
+ * later.
+ * See the COPYING-README file.
+ */
+
+/**
+ * Public interface of ownCloud for apps to use.
+ * Files/AlreadyExistsException class
+ */
+
+// use OCP namespace for all classes that are considered public.
+// This means that they should be used by apps instead of the internal ownCloud classes
+namespace OCP\Files;
+
+class StorageNotAvailableException extends \Exception {
+}