class FileExistsException

Exception thrown when a file unexpectedly exists.

Hierarchy

Expanded class hierarchy of FileExistsException

3 files declare their use of FileExistsException
FileCopyTest.php in core/tests/Drupal/KernelTests/Core/File/FileCopyTest.php
FileSystem.php in core/lib/Drupal/Core/File/FileSystem.php
FileSystemTest.php in core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php

File

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

Namespace

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

}

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