summaryrefslogtreecommitdiffstats
path: root/lib/private/encryption/exceptions/encryptionheadertolargeexception.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/private/encryption/exceptions/encryptionheadertolargeexception.php')
-rw-r--r--lib/private/encryption/exceptions/encryptionheadertolargeexception.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/private/encryption/exceptions/encryptionheadertolargeexception.php b/lib/private/encryption/exceptions/encryptionheadertolargeexception.php
index cc980aa4beb..94a130d792d 100644
--- a/lib/private/encryption/exceptions/encryptionheadertolargeexception.php
+++ b/lib/private/encryption/exceptions/encryptionheadertolargeexception.php
@@ -22,7 +22,12 @@
namespace OC\Encryption\Exceptions;
+use OCP\Encryption\Exceptions\GenericEncryptionException;
class EncryptionHeaderToLargeException extends GenericEncryptionException {
+ public function __construct($key) {
+ parent::__construct('max header size exceeded');
+ }
+
}