From 887be709f5f0dbbc6ad7b1cc1a9793d04421c5b9 Mon Sep 17 00:00:00 2001 From: Bjoern Schiessle Date: Tue, 12 May 2015 18:49:25 +0200 Subject: a new approach to display the error message --- .../encryption/exceptions/decryptionfailedexception.php | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'lib/private/encryption') diff --git a/lib/private/encryption/exceptions/decryptionfailedexception.php b/lib/private/encryption/exceptions/decryptionfailedexception.php index 406ae12968e..7e9fa21eaef 100644 --- a/lib/private/encryption/exceptions/decryptionfailedexception.php +++ b/lib/private/encryption/exceptions/decryptionfailedexception.php @@ -27,4 +27,15 @@ use OCP\Encryption\Exceptions\GenericEncryptionException; class DecryptionFailedException extends GenericEncryptionException { + /** + * @param string $message + * @param int $code + * @param \Exception $previous + * @param string $hint + */ + public function __construct($message = '', $code = 0, \Exception $previous = null, $hint = '') { + parent::__construct($message, $code, $previous, $hint); + +} + } -- cgit v1.2.3