aboutsummaryrefslogtreecommitdiffhomepage
path: root/application/exceptions
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2018-12-02 23:31:40 +0100
committerVirtualTam <virtualtam@flibidi.net>2019-01-12 22:47:48 +0100
commitf3d2f257946e2a3c8791c1ba99b379acbe934fec (patch)
tree7f66543d9a21fd4e8c90f0ed00adde0a62d1205d /application/exceptions
parentbdc5152d486ca75372c271f94623b248bc127800 (diff)
downloadShaarli-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.php5
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
2namespace Shaarli\Exceptions;
3
4use 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}