31 files declare their use of FileException

AssetDumper.php in core/lib/Drupal/Core/Asset/AssetDumper.php
CKEditor5ImageController.php in core/modules/ckeditor5/src/Controller/CKEditor5ImageController.php
ConfigController.php in core/modules/config/src/Controller/ConfigController.php
ConfigInstallWebTest.php in core/modules/config/tests/src/Functional/ConfigInstallWebTest.php
DirectoryTest.php in core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
file.module in core/modules/file/file.module
File.php in core/modules/file/src/Entity/File.php
FileCopy.php in core/modules/migrate/src/Plugin/migrate/process/FileCopy.php
FileMoveTest.php in core/tests/Drupal/KernelTests/Core/File/FileMoveTest.php
FileSystem.php in core/lib/Drupal/Core/File/FileSystem.php
FileSystemTest.php in core/tests/Drupal/Tests/Core/File/FileSystemTest.php
FileSystemTest.php in core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php
FileUpload.php in core/modules/jsonapi/src/Controller/FileUpload.php
FileUploadResource.php in core/modules/file/src/Plugin/rest/resource/FileUploadResource.php
GDToolkit.php in core/modules/system/src/Plugin/ImageToolkit/GDToolkit.php
image.install in core/modules/image/image.install
Install, update and uninstall functions for the image module.
ImageItem.php in core/modules/image/src/Plugin/Field/FieldType/ImageItem.php
ImageStyle.php in core/modules/image/src/Entity/ImageStyle.php
InstallHelper.php in core/profiles/demo_umami/modules/demo_umami_content/src/InstallHelper.php
locale.batch.inc in core/modules/locale/locale.batch.inc
locale.bulk.inc in core/modules/locale/locale.bulk.inc
locale.install in core/modules/locale/locale.install
Install, update, and uninstall functions for the Locale module.
locale.module in core/modules/locale/locale.module
media.install in core/modules/media/media.install
Install, uninstall and update hooks for Media module.
OEmbed.php in core/modules/media/src/Plugin/media/Source/OEmbed.php
SettingsForm.php in core/modules/navigation/src/Form/SettingsForm.php
SiteConfigurationExcluder.php in core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php
TemporaryJsonapiFileFieldUploader.php in core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php
ThemeSettingsForm.php in core/modules/system/src/Form/ThemeSettingsForm.php
update.manager.inc in core/modules/update/update.manager.inc
update.module in core/modules/update/update.module

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