8 files declare their use of DatabaseNotFoundException

Connection.php in core/lib/Drupal/Core/Database/Driver/sqlite/Connection.php
Connection.php in core/lib/Drupal/Core/Database/Driver/mysql/Connection.php
Connection.php in core/lib/Drupal/Core/Database/Driver/pgsql/Connection.php
InstallerRedirectTrait.php in core/lib/Drupal/Core/Installer/InstallerRedirectTrait.php
InstallerRedirectTraitTest.php in core/tests/Drupal/KernelTests/Core/Installer/InstallerRedirectTraitTest.php
Tasks.php in core/lib/Drupal/Core/Database/Driver/sqlite/Install/Tasks.php
Tasks.php in core/lib/Drupal/Core/Database/Driver/mysql/Install/Tasks.php
Tasks.php in core/lib/Drupal/Core/Database/Driver/pgsql/Install/Tasks.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.