aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2018-04-30 11:49:24 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2018-07-02 11:29:27 +0200
commit21e64ec7f41dcf5424c3357f7ce07b22a817a16e (patch)
tree70216c0c182d43a329bfb52ed1f39652bbc930c2 /lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php
parent5cfe20675dfa1f895af47b4a8c93cf479d53b200 (diff)
downloadnextcloud-server-21e64ec7f41dcf5424c3357f7ce07b22a817a16e.tar.gz
nextcloud-server-21e64ec7f41dcf5424c3357f7ce07b22a817a16e.zip
implement receiving of federated shares
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php')
-rw-r--r--lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php b/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php
index b608437aa3c..205206d5af8 100644
--- a/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php
+++ b/lib/public/Federation/Exceptions/ProviderCouldNotAddShareException.php
@@ -22,7 +22,13 @@
namespace OCP\Federation\Exceptions;
use OC\HintException;
+use OCP\AppFramework\Http;
class ProviderCouldNotAddShareException extends HintException {
+ public function __construct($message, $hint = '', $code = Http::STATUS_BAD_REQUEST, \Exception $previous = null) {
+ parent::__construct($message, $hint, $code, $previous);
+ }
+
+
}