IOException

class IOException extends RuntimeException implements IOExceptionInterface

Exception class thrown when a filesystem operation failure happens.

Methods

__construct($message, $code, Exception $previous = null, $path = null)
string getPath()

Returns the associated path for the exception.

Details

__construct($message, $code, Exception $previous = null, $path = null)

Parameters

$message
$code
Exception $previous
$path

string getPath()

Returns the associated path for the exception.

Return Value

string The path

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Filesystem/Exception/IOException.html