class FileException

Same name in other branches
  1. 9 core/lib/Drupal/Core/File/Exception/FileException.php \Drupal\Core\File\Exception\FileException
  2. 8.9.x core/lib/Drupal/Core/File/Exception/FileException.php \Drupal\Core\File\Exception\FileException
  3. 11.x core/lib/Drupal/Core/File/Exception/FileException.php \Drupal\Core\File\Exception\FileException

Base class for exceptions related to file handling operations.

Hierarchy

  • class \Drupal\Core\File\Exception\FileException extends \Drupal\Core\File\Exception\RuntimeException

Expanded class hierarchy of FileException

30 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

... See full list

File

core/lib/Drupal/Core/File/Exception/FileException.php, line 8

Namespace

Drupal\Core\File\Exception
View source
class FileException extends \RuntimeException {

}

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