// 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());
}