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