]>
git.immae.eu Git - github/shaarli/Shaarli.git/blob - application/exceptions/IOException.php
3 namespace Shaarli\Exceptions
;
8 * Exception class thrown when a filesystem access failure happens
10 class IOException
extends Exception
15 * Construct a new IOException
17 * @param string $path path to the resource that cannot be accessed
18 * @param string $message Custom exception message.
20 public function __construct($path, $message = '')
23 $this->message
= empty($message) ? t('Error accessing') : $message;
24 $this->message
.= ' "' . $this->path
. '"';