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