summaryrefslogtreecommitdiffstats
path: root/apps/encryption/lib/exceptions
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2015-04-01 13:58:23 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2015-04-07 13:30:30 +0200
commit035646c0f60c2a9fb7105f0f1c6abdbda91b2d9f (patch)
treee7b518c070154be851e92e94bb79d2efd6ba8b54 /apps/encryption/lib/exceptions
parenta57918fb10a85e27aa283eb4abb39d57e718035c (diff)
downloadnextcloud-server-035646c0f60c2a9fb7105f0f1c6abdbda91b2d9f.tar.gz
nextcloud-server-035646c0f60c2a9fb7105f0f1c6abdbda91b2d9f.zip
fix exception handling
Diffstat (limited to 'apps/encryption/lib/exceptions')
-rw-r--r--apps/encryption/lib/exceptions/filekeymissingexception.php8
-rw-r--r--apps/encryption/lib/exceptions/multikeydecryptexception.php7
-rw-r--r--apps/encryption/lib/exceptions/multikeyencryptexception.php7
3 files changed, 22 insertions, 0 deletions
diff --git a/apps/encryption/lib/exceptions/filekeymissingexception.php b/apps/encryption/lib/exceptions/filekeymissingexception.php
new file mode 100644
index 00000000000..9eb2d4c80d4
--- /dev/null
+++ b/apps/encryption/lib/exceptions/filekeymissingexception.php
@@ -0,0 +1,8 @@
+<?php
+
+
+namespace OCA\Encryption\Exceptions;
+
+class FileKeyMissingException extends \Exception {
+
+}
diff --git a/apps/encryption/lib/exceptions/multikeydecryptexception.php b/apps/encryption/lib/exceptions/multikeydecryptexception.php
new file mode 100644
index 00000000000..36a95544e61
--- /dev/null
+++ b/apps/encryption/lib/exceptions/multikeydecryptexception.php
@@ -0,0 +1,7 @@
+<?php
+
+namespace OCA\Encryption\Exceptions;
+
+class MultiKeyDecryptException extends \Exception {
+
+}
diff --git a/apps/encryption/lib/exceptions/multikeyencryptexception.php b/apps/encryption/lib/exceptions/multikeyencryptexception.php
new file mode 100644
index 00000000000..e518a09d1cc
--- /dev/null
+++ b/apps/encryption/lib/exceptions/multikeyencryptexception.php
@@ -0,0 +1,7 @@
+<?php
+
+namespace OCA\Encryption\Exceptions;
+
+class MultiKeyEncryptException extends \Exception {
+
+}