class FileException

Same name in other branches
  1. 9 core/lib/Drupal/Core/File/Exception/FileException.php \Drupal\Core\File\Exception\FileException
  2. 10 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

31 files declare their use of FileException
AssetDumper.php in core/lib/Drupal/Core/Asset/AssetDumper.php
color.module in core/modules/color/color.module
Allows users to change the color scheme of themes.
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.