Reviewänderungen
This commit is contained in:
@@ -47,7 +47,7 @@ class DatabaseCommentManager implements CommentManagerDAO
|
||||
}
|
||||
|
||||
} catch (PDOException $e) {
|
||||
throw new RuntimeException("Kommentardatenbank konnte nicht erstellt werden.");
|
||||
throw new RuntimeException("internal_error");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@ class DatabaseCommentManager implements CommentManagerDAO
|
||||
return $db;
|
||||
|
||||
} catch (PDOException $e) {
|
||||
throw new RuntimeException("Verbindung zur Kommentardatenbank fehlgeschlagen.");
|
||||
throw new RuntimeException("internal_error");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -135,7 +135,7 @@ class DatabaseCommentManager implements CommentManagerDAO
|
||||
return intval($db->lastInsertId());
|
||||
|
||||
} catch (PDOException $e) {
|
||||
throw new RuntimeException("Kommentar konnte nicht gespeichert werden.");
|
||||
throw new RuntimeException("internal_error");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -175,7 +175,7 @@ class DatabaseCommentManager implements CommentManagerDAO
|
||||
return $this->mapRowsToComments($command);
|
||||
|
||||
} catch (PDOException $e) {
|
||||
throw new RuntimeException("Kommentare konnten nicht geladen werden.");
|
||||
throw new RuntimeException("internal_error");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -215,7 +215,7 @@ class DatabaseCommentManager implements CommentManagerDAO
|
||||
return $this->mapRowsToComments($command);
|
||||
|
||||
} catch (PDOException $e) {
|
||||
throw new RuntimeException("Kommentare konnten nicht geladen werden.");
|
||||
throw new RuntimeException("internal_error");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user