]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - application/FileUtils.php
3 * Exception class thrown when a filesystem access failure happens
5 class IOException
extends Exception
10 * Construct a new IOException
12 * @param string $path path to the resource that cannot be accessed
13 * @param string $message Custom exception message.
15 public function __construct($path, $message = '')
18 $this->message
= empty($message) ? 'Error accessing' : $message;
19 $this->message
.= PHP_EOL
. $this->path
;