summaryrefslogtreecommitdiffstats
path: root/lib/private/IntegrityCheck/Exceptions
diff options
context:
space:
mode:
authorRoeland Jago Douma <rullzer@owncloud.com>2016-04-18 21:46:07 +0200
committerRoeland Jago Douma <rullzer@owncloud.com>2016-04-18 21:46:07 +0200
commit161eaadc898c7f6210c2a10beff774bf569f6b79 (patch)
tree374a6e77503261601e72ddaa79036c5d26ad3bdd /lib/private/IntegrityCheck/Exceptions
parent4c59ee033c9b3ff2e48da8d15141d11f15c5c5c3 (diff)
downloadnextcloud-server-161eaadc898c7f6210c2a10beff774bf569f6b79.tar.gz
nextcloud-server-161eaadc898c7f6210c2a10beff774bf569f6b79.zip
Move OC\IntegrityCheck to PSR-4
Diffstat (limited to 'lib/private/IntegrityCheck/Exceptions')
-rw-r--r--lib/private/IntegrityCheck/Exceptions/InvalidSignatureException.php30
1 files changed, 30 insertions, 0 deletions
diff --git a/lib/private/IntegrityCheck/Exceptions/InvalidSignatureException.php b/lib/private/IntegrityCheck/Exceptions/InvalidSignatureException.php
new file mode 100644
index 00000000000..521171642b2
--- /dev/null
+++ b/lib/private/IntegrityCheck/Exceptions/InvalidSignatureException.php
@@ -0,0 +1,30 @@
+<?php
+/**
+ * @author Lukas Reschke <lukas@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\IntegrityCheck\Exceptions;
+
+/**
+ * Class InvalidSignatureException is thrown in case the signature of the hashes
+ * cannot be properly validated. This indicates that either files
+ *
+ * @package OC\IntegrityCheck\Exceptions
+ */
+class InvalidSignatureException extends \Exception {}