OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Core\Exception\FileException Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Core\Exception\FileException:
+ Collaboration diagram for OxidEsales\EshopCommunity\Core\Exception\FileException:

Public Member Functions

 setFileName ($sFileName)
 
 getFileName ()
 
 setFileError ($sFileError)
 
 getFileError ()
 
 getString ()
 
 getValues ()
 

Protected Attributes

 $type = 'oxFileException'
 
 $_sErrFileName
 
 $_sFileError
 

Detailed Description

exception for invalid or non existin external files, e.g.:

  • file does not exist
  • file is not valid xml

Member Function Documentation

◆ getFileError()

OxidEsales\EshopCommunity\Core\Exception\FileException::getFileError ( )

return the file error

Returns
string

◆ getFileName()

OxidEsales\EshopCommunity\Core\Exception\FileException::getFileName ( )

Gives file name related to the exception

Returns
string

◆ getString()

OxidEsales\EshopCommunity\Core\Exception\FileException::getString ( )

Get string dump Overrides oxException::getString()

Returns
string

◆ getValues()

OxidEsales\EshopCommunity\Core\Exception\FileException::getValues ( )

Override of oxException::getValues()

Returns
array

◆ setFileError()

OxidEsales\EshopCommunity\Core\Exception\FileException::setFileError (   $sFileError)

sets the error returned by the file operation

Parameters
string$sFileErrorError

◆ setFileName()

OxidEsales\EshopCommunity\Core\Exception\FileException::setFileName (   $sFileName)

Sets the file name of the file related to the exception

Parameters
string$sFileNamefile name

Member Data Documentation

◆ $_sErrFileName

OxidEsales\EshopCommunity\Core\Exception\FileException::$_sErrFileName
protected

◆ $_sFileError

OxidEsales\EshopCommunity\Core\Exception\FileException::$_sFileError
protected

◆ $type

OxidEsales\EshopCommunity\Core\Exception\FileException::$type = 'oxFileException'
protected

The documentation for this class was generated from the following file: