Introduced FileNotFoundException
[core.git] / inc / classes / main / file_directories / io_stream / class_FileIoStream.php
index f51884fd04f9a6244c736004e3b130ca3eb9eb98..d0ff549078ded20e66400723d7c6e58aaa1b0feb 100644 (file)
@@ -82,7 +82,7 @@ class FileIoStream extends BaseFrameworkSystem implements FileInputStreamer, Fil
                        // Get a file output pointer
                        try {
                                $fileInstance = ObjectFactory::createObjectByConfiguredName('file_raw_output_class', array($fileName, 'wb'));
-                       } catch (FileIoException $e) {
+                       } catch (FileNotFoundException $e) {
                                // Bail out
                                ApplicationEntryPoint::app_exit('The application has made a fatal error. Exception: ' . $e->__toString() . ' with message: ' . $e->getMessage());
                        }