updateArticle-Exceptions

This commit is contained in:
2026-06-02 15:31:02 +02:00
parent c6b55030cf
commit fb54ba2462
4 changed files with 12 additions and 6 deletions
+2
View File
@@ -3,6 +3,7 @@ require_once "Article.php";
class NotFoundException extends Exception {}
class UnauthorizedAccessException extends Exception {}
class InternalServerErrorException extends Exception {}
/**
* Die Klasse beinhaltet alle Methoden für die Operation mit den Artikel-Daten.
@@ -33,6 +34,7 @@ interface ArticleManagerDAO
* @param $author
* @return void
*
* @throws InternalServerErrorException
* @throws NotFoundException
* @throws UnauthorizedAccessException
* /