Documentation

IOException extends RuntimeException
in package
implements IOExceptionInterface

Exception class thrown when a filesystem operation failure happens.

Tags
author

Romain Neutron imprec@gmail.com

author

Christian Gärtner christiangaertner.film@googlemail.com

author

Fabien Potencier fabien@symfony.com

Table of Contents

Interfaces

IOExceptionInterface
IOException interface for file and input/output stream related exceptions thrown by the component.

Properties

$path  : string|null

Methods

__construct()  : mixed
getPath()  : string|null
Returns the associated path for the exception.

Properties

Methods

__construct()

public __construct(string $message[, int $code = 0 ][, Throwable|null $previous = null ][, string|null $path = null ]) : mixed
Parameters
$message : string
$code : int = 0
$previous : Throwable|null = null
$path : string|null = null

getPath()

Returns the associated path for the exception.

public getPath() : string|null
Return values
string|null

        
On this page

Search results