Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. IOException.php

class IOException

Same name in this branch
  1. 11.1.x vendor/php-tuf/composer-stager/src/API/Exception/IOException.php \PhpTuf\ComposerStager\API\Exception\IOException

Exception class thrown when a filesystem operation failure happens.

@author Romain Neutron <imprec@gmail.com> @author Christian Gärtner <christiangaertner.film@googlemail.com> @author Fabien Potencier <fabien@symfony.com>

Hierarchy

  • class \Symfony\Component\Filesystem\Exception\RuntimeException extends \Symfony\Component\Filesystem\Exception\RuntimeException implements \Symfony\Component\Filesystem\Exception\ExceptionInterface
    • class \Symfony\Component\Filesystem\Exception\RuntimeException extends \Symfony\Component\Filesystem\Exception\RuntimeException implements \Symfony\Component\Filesystem\Exception\ExceptionInterface
      • class \Symfony\Component\Filesystem\Exception\IOException extends \Symfony\Component\Filesystem\Exception\RuntimeException implements \Symfony\Component\Filesystem\Exception\IOExceptionInterface

Expanded class hierarchy of IOException

3 files declare their use of IOException
Filesystem.php in vendor/composer/composer/src/Composer/Util/Filesystem.php
Filesystem.php in vendor/symfony/filesystem/Filesystem.php
PathDownloader.php in vendor/composer/composer/src/Composer/Downloader/PathDownloader.php

File

vendor/symfony/filesystem/Exception/IOException.php, line 21

Namespace

Symfony\Component\Filesystem\Exception
View source
class IOException extends \RuntimeException implements IOExceptionInterface {
    public function __construct(string $message, int $code = 0, ?\Throwable $previous = null, ?string $path = null) {
        parent::__construct($message, $code, $previous);
    }
    public function getPath() : ?string {
        return $this->path;
    }

}

Members

Title Sort descending Modifiers Object type Summary Overriden Title Overrides
IOException::getPath public function Returns the associated path for the exception. Overrides IOExceptionInterface::getPath
IOException::__construct public function 1

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal