diff options
author | VirtualTam <virtualtam@flibidi.net> | 2018-12-02 23:31:40 +0100 |
---|---|---|
committer | VirtualTam <virtualtam@flibidi.net> | 2019-01-12 22:47:48 +0100 |
commit | f3d2f257946e2a3c8791c1ba99b379acbe934fec (patch) | |
tree | 7f66543d9a21fd4e8c90f0ed00adde0a62d1205d /application/exceptions | |
parent | bdc5152d486ca75372c271f94623b248bc127800 (diff) | |
download | Shaarli-f3d2f257946e2a3c8791c1ba99b379acbe934fec.tar.gz Shaarli-f3d2f257946e2a3c8791c1ba99b379acbe934fec.tar.zst Shaarli-f3d2f257946e2a3c8791c1ba99b379acbe934fec.zip |
namespacing: \Shaarli\Exceptions\IOException
Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'application/exceptions')
-rw-r--r-- | application/exceptions/IOException.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/application/exceptions/IOException.php b/application/exceptions/IOException.php index 18e46b77..2aa25e5c 100644 --- a/application/exceptions/IOException.php +++ b/application/exceptions/IOException.php | |||
@@ -1,4 +1,7 @@ | |||
1 | <?php | 1 | <?php |
2 | namespace Shaarli\Exceptions; | ||
3 | |||
4 | use Exception; | ||
2 | 5 | ||
3 | /** | 6 | /** |
4 | * Exception class thrown when a filesystem access failure happens | 7 | * Exception class thrown when a filesystem access failure happens |
@@ -17,6 +20,6 @@ class IOException extends Exception | |||
17 | { | 20 | { |
18 | $this->path = $path; | 21 | $this->path = $path; |
19 | $this->message = empty($message) ? t('Error accessing') : $message; | 22 | $this->message = empty($message) ? t('Error accessing') : $message; |
20 | $this->message .= ' "' . $this->path .'"'; | 23 | $this->message .= ' "' . $this->path . '"'; |
21 | } | 24 | } |
22 | } | 25 | } |