summaryrefslogtreecommitdiffstats
path: root/lib/private/share20/exception
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2016-01-18 22:11:00 +0100
committerThomas Müller <thomas.mueller@tmit.eu>2016-01-18 22:11:00 +0100
commitd7729a8ff6b16aa41f789ef2ca76da27648300fd (patch)
tree5bace2f34b36b24b83ef8f4d499ee546ffcf36af /lib/private/share20/exception
parent816df90aec545071237f61d63c8027407664d4b4 (diff)
parent0939520e1a19b5d22e17bcc63a4d421dd63cb807 (diff)
downloadnextcloud-server-d7729a8ff6b16aa41f789ef2ca76da27648300fd.tar.gz
nextcloud-server-d7729a8ff6b16aa41f789ef2ca76da27648300fd.zip
Merge pull request #21755 from owncloud/share2_hardening_creation
[Share 2.0] Additional checks for share object creation
Diffstat (limited to 'lib/private/share20/exception')
-rw-r--r--lib/private/share20/exception/invalidshare.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/private/share20/exception/invalidshare.php b/lib/private/share20/exception/invalidshare.php
new file mode 100644
index 00000000000..c176e4424ba
--- /dev/null
+++ b/lib/private/share20/exception/invalidshare.php
@@ -0,0 +1,25 @@
+<?php
+/**
+ * @author Roeland Jago Douma <rullzer@owncloud.com>
+ *
+ * @copyright Copyright (c) 2016, ownCloud, Inc.
+ * @license AGPL-3.0
+ *
+ * This code is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License, version 3,
+ * as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License, version 3,
+ * along with this program. If not, see <http://www.gnu.org/licenses/>
+ *
+ */
+namespace OC\Share20\Exception;
+
+class InvalidShare extends \Exception {
+
+}