Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-06-30 17:46:37 +0400
committerRobin Appelman <icewind@owncloud.com>2014-06-30 17:46:37 +0400
commitd78a2a9f78dc2a65bffa8f3fc4299c4540c4d5be (patch)
tree3c5f84e6271daadf1a513b262d8d3ddba5385c4e /lib/public
parentd94d307f522ce724ac288f57f563338f7229db4c (diff)
Add StorageNotAvailableException
Diffstat (limited to 'lib/public')
-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 {
+}