class FileWriteException

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

Exception thrown when file cannot be written to disk.

Hierarchy

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

Expanded class hierarchy of FileWriteException

3 files declare their use of FileWriteException
file.inc in core/includes/file.inc
API for handling file uploads and server file management.
FileSystem.php in core/lib/Drupal/Core/File/FileSystem.php
FileUploadForm.php in core/modules/media_library/src/Form/FileUploadForm.php

File

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

Namespace

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

}

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