Expanded class hierarchy of FileWriteException in Drupal 8
- class \Drupal\Core\File\Exception\FileException extends \Drupal\Core\File\Exception\RuntimeException
- class \Drupal\Core\File\Exception\DirectoryNotReadyException
- class \Drupal\Core\File\Exception\FileExistsException
- class \Drupal\Core\File\Exception\FileNotExistsException
- class \Drupal\Core\File\Exception\FileWriteException
- class \Drupal\Core\File\Exception\NotRegularDirectoryException
- class \Drupal\Core\File\Exception\NotRegularFileException