diff options
Diffstat (limited to 'lib/Controller/AliasesController.php')
-rw-r--r-- | lib/Controller/AliasesController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Controller/AliasesController.php b/lib/Controller/AliasesController.php index b7475affa..88d8f945d 100644 --- a/lib/Controller/AliasesController.php +++ b/lib/Controller/AliasesController.php @@ -23,10 +23,10 @@ declare(strict_types=1); namespace OCA\Mail\Controller; -use OCA\Mail\Exception\ClientException; use OCA\Mail\Exception\NotImplemented; use OCA\Mail\Service\AliasesService; use OCP\AppFramework\Controller; +use OCP\AppFramework\Db\DoesNotExistException; use OCP\AppFramework\Http; use OCP\AppFramework\Http\JSONResponse; use OCP\IRequest; @@ -96,7 +96,7 @@ class AliasesController extends Controller { * @param string $aliasName * * @return JSONResponse - * @throws ClientException + * @throws DoesNotExistException */ public function create(int $accountId, string $alias, string $aliasName): JSONResponse { return new JSONResponse( |