From 2c22024e1c9ac0aef5bb8c347326192af8826ae5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Fri, 19 May 2017 15:50:36 +0200 Subject: [PATCH] no longer deprecated and now imported MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Roland Häder --- framework/main/classes/class_BaseFrameworkSystem.php | 1 + .../input/raw/class_FrameworkRawFileInputPointer.php | 1 + .../input/text/class_FrameworkTextFileInputPointer.php | 1 + .../io/class_FrameworkFileInputOutputPointer.php | 3 +++ .../local_file/class_SavePathWriteProtectedException.php | 2 +- .../file_directory/class_FileReadProtectedException.php | 3 +-- .../file_directory/class_FileWriteProtectedException.php | 5 ++--- .../file_directory/class_PathWriteProtectedException.php | 6 +++--- 8 files changed, 13 insertions(+), 9 deletions(-) diff --git a/framework/main/classes/class_BaseFrameworkSystem.php b/framework/main/classes/class_BaseFrameworkSystem.php index ab2e5540..b1eb25e5 100644 --- a/framework/main/classes/class_BaseFrameworkSystem.php +++ b/framework/main/classes/class_BaseFrameworkSystem.php @@ -19,6 +19,7 @@ use CoreFramework\Factory\ObjectFactory; use CoreFramework\Filesystem\Block; use CoreFramework\Filesystem\FilePointer; use CoreFramework\Filesystem\FrameworkDirectory; +use CoreFramework\Filesystem\PathWriteProtectedException; use CoreFramework\Generic\FrameworkInterface; use CoreFramework\Generic\NullPointerException; use CoreFramework\Handler\Stream\IoHandler; diff --git a/framework/main/classes/file_directories/input/raw/class_FrameworkRawFileInputPointer.php b/framework/main/classes/file_directories/input/raw/class_FrameworkRawFileInputPointer.php index e2f81c50..6f2aa12f 100644 --- a/framework/main/classes/file_directories/input/raw/class_FrameworkRawFileInputPointer.php +++ b/framework/main/classes/file_directories/input/raw/class_FrameworkRawFileInputPointer.php @@ -5,6 +5,7 @@ namespace CoreFramework\Filesystem\Pointer\Input; // Import framework stuff use CoreFramework\Bootstrap\FrameworkBootstrap; use CoreFramework\FileSystem\BaseFileIo; +use CoreFramework\FileSystem\FileReadProtectedException; use CoreFramework\Filesystem\Pointer\InputPointer; use CoreFramework\Generic\NullPointerException; use CoreFramework\Object\BaseFrameworkSystem; diff --git a/framework/main/classes/file_directories/input/text/class_FrameworkTextFileInputPointer.php b/framework/main/classes/file_directories/input/text/class_FrameworkTextFileInputPointer.php index 024ad4e0..1a1b2bda 100644 --- a/framework/main/classes/file_directories/input/text/class_FrameworkTextFileInputPointer.php +++ b/framework/main/classes/file_directories/input/text/class_FrameworkTextFileInputPointer.php @@ -5,6 +5,7 @@ namespace CoreFramework\Filesystem\Pointer\Input; // Import framework stuff use CoreFramework\Bootstrap\FrameworkBootstrap; use CoreFramework\FileSystem\BaseFileIo; +use CoreFramework\FileSystem\FileReadProtectedException; use CoreFramework\Filesystem\Pointer\InputPointer; use CoreFramework\Generic\NullPointerException; use CoreFramework\Object\BaseFrameworkSystem; diff --git a/framework/main/classes/file_directories/io/class_FrameworkFileInputOutputPointer.php b/framework/main/classes/file_directories/io/class_FrameworkFileInputOutputPointer.php index 6e5814f9..03252adb 100644 --- a/framework/main/classes/file_directories/io/class_FrameworkFileInputOutputPointer.php +++ b/framework/main/classes/file_directories/io/class_FrameworkFileInputOutputPointer.php @@ -5,6 +5,9 @@ namespace CoreFramework\Filesystem\Pointer; // Import framework stuff use CoreFramework\Bootstrap\FrameworkBootstrap; use CoreFramework\FileSystem\BaseFileIo; +use CoreFramework\FileSystem\FileReadProtectedException; +use CoreFramework\FileSystem\FileWriteProtectedException; +use CoreFramework\Filesystem\PathWriteProtectedException; use CoreFramework\Generic\NullPointerException; use CoreFramework\Object\BaseFrameworkSystem; diff --git a/framework/main/exceptions/database/local_file/class_SavePathWriteProtectedException.php b/framework/main/exceptions/database/local_file/class_SavePathWriteProtectedException.php index 4db309ea..7bb8ead5 100644 --- a/framework/main/exceptions/database/local_file/class_SavePathWriteProtectedException.php +++ b/framework/main/exceptions/database/local_file/class_SavePathWriteProtectedException.php @@ -1,5 +1,5 @@ . */ -class FileWriteProtectedException extends FrameworkException { +class PathWriteProtectedException extends FrameworkException { /** * The constructor * -- 2.39.5