diff options
author | dartcafe <github@dartcafe.de> | 2020-11-03 00:14:39 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2020-11-03 00:14:39 +0300 |
commit | e5c6f0ccaa1a158d09d5e574779527a1c3a52cf0 (patch) | |
tree | c79b49f9339978a729e83c2992b922858a104f38 /lib/Exceptions/ShareAlreadyExists.php | |
parent | 24db4090cb59b004fda183a161c2738976b633ae (diff) |
refactor exceptions
Diffstat (limited to 'lib/Exceptions/ShareAlreadyExists.php')
-rw-r--r-- | lib/Exceptions/ShareAlreadyExists.php | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/lib/Exceptions/ShareAlreadyExists.php b/lib/Exceptions/ShareAlreadyExists.php deleted file mode 100644 index d63c8af1..00000000 --- a/lib/Exceptions/ShareAlreadyExists.php +++ /dev/null @@ -1,39 +0,0 @@ -<?php -/** - * @copyright Copyright (c) 2020 René Gieling <github@dartcafe.de> - * - * @author René Gieling <github@dartcafe.de> - * - * @license GNU AGPL version 3 or any later version - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU Affero General Public License as - * published by the Free Software Foundation, either version 3 of the - * License, or (at your option) any later version. - * - * 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 - * along with this program. If not, see <http://www.gnu.org/licenses/>. - * - */ - -namespace OCA\Polls\Exceptions; - -use OCP\AppFramework\Http; - -class ShareAlreadyExists extends \Exception { - /** - * TooShortException Constructor - * @param string $e exception message - */ - public function __construct($e = 'Share already exists') { - parent::__construct($e); - } - public function getStatus() { - return Http::STATUS_OK; - } -} |