2015-01-14 14:39:23 -05:00
|
|
|
<?php
|
2024-05-23 03:26:56 -04:00
|
|
|
|
2015-01-14 14:39:23 -05:00
|
|
|
/**
|
2024-05-23 03:26:56 -04:00
|
|
|
* SPDX-FileCopyrightText: 2016-2024 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2015-01-14 14:39:23 -05:00
|
|
|
*/
|
|
|
|
|
namespace OC\Encryption\Exceptions;
|
|
|
|
|
|
2015-04-01 10:36:08 -04:00
|
|
|
use OCP\Encryption\Exceptions\GenericEncryptionException;
|
|
|
|
|
|
|
|
|
|
class ModuleAlreadyExistsException extends GenericEncryptionException {
|
|
|
|
|
/**
|
|
|
|
|
* @param string $id
|
|
|
|
|
* @param string $name
|
|
|
|
|
*/
|
|
|
|
|
public function __construct($id, $name) {
|
|
|
|
|
parent::__construct('Id "' . $id . '" already used by encryption module "' . $name . '"');
|
|
|
|
|
}
|
2015-01-14 14:39:23 -05:00
|
|
|
}
|