8 files declare their use of DatabaseNotFoundException

Connection.php in core/modules/sqlite/src/Driver/Database/sqlite/Connection.php
Connection.php in core/modules/mysql/src/Driver/Database/mysql/Connection.php
Connection.php in core/modules/pgsql/src/Driver/Database/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/modules/sqlite/src/Driver/Database/sqlite/Install/Tasks.php
Tasks.php in core/modules/mysql/src/Driver/Database/mysql/Install/Tasks.php
Tasks.php in core/modules/pgsql/src/Driver/Database/pgsql/Install/Tasks.php

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