From b2306b0c783365e3f8110ae25bc93f2630b8b2c8 Mon Sep 17 00:00:00 2001 From: ArthurHoaro Date: Mon, 16 Jan 2017 12:30:18 +0100 Subject: Move database read/write to FileUtils class + additional unit tests --- application/exceptions/IOException.php | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 application/exceptions/IOException.php (limited to 'application/exceptions') diff --git a/application/exceptions/IOException.php b/application/exceptions/IOException.php new file mode 100644 index 00000000..b563b23d --- /dev/null +++ b/application/exceptions/IOException.php @@ -0,0 +1,22 @@ +path = $path; + $this->message = empty($message) ? 'Error accessing' : $message; + $this->message .= ' "' . $this->path .'"'; + } +} -- cgit v1.2.3