OXID eShop CE  4.9.7
 All Classes Files Functions Variables Pages
oxfileexception.php
Go to the documentation of this file.
1 <?php
2 
9 {
10 
16  protected $_sErrFileName;
17 
23  protected $_sFileError;
24 
30  public function setFileName($sFileName)
31  {
32  $this->_sErrFileName = $sFileName;
33  }
34 
40  public function getFileName()
41  {
42  return $this->_sErrFileName;
43  }
44 
50  public function setFileError($sFileError)
51  {
52  $this->_sFileError = $sFileError;
53  }
54 
60  public function getFileError()
61  {
62  return $this->_sFileError;
63  }
64 
71  public function getString()
72  {
73  return __CLASS__ . '-' . parent::getString() . " Faulty File --> " . $this->_sErrFileName . "\n" . "Error Code --> " . $this->_sFileError;
74  }
75 
81  public function getValues()
82  {
83  $aRes = parent::getValues();
84  $aRes['fileName'] = $this->getFileName();
85 
86  return $aRes;
87  }
88 }