<?php
+namespace Shaarli\Exceptions;
+
+use Exception;
/**
* Exception class thrown when a filesystem access failure happens
public function __construct($path, $message = '')
{
$this->path = $path;
- $this->message = empty($message) ? 'Error accessing' : $message;
- $this->message .= ' "' . $this->path .'"';
+ $this->message = empty($message) ? t('Error accessing') : $message;
+ $this->message .= ' "' . $this->path . '"';
}
}