00001 <?php 00002 00008 class oxFileException extends oxException 00009 { 00010 00016 protected $_sErrFileName; 00017 00023 protected $_sFileError; 00024 00030 public function setFileName($sFileName) 00031 { 00032 $this->_sErrFileName = $sFileName; 00033 } 00034 00040 public function getFileName() 00041 { 00042 return $this->_sErrFileName; 00043 } 00044 00050 public function setFileError($sFileError) 00051 { 00052 $this->_sFileError = $sFileError; 00053 } 00054 00060 public function getFileError() 00061 { 00062 return $this->_sFileError; 00063 } 00064 00071 public function getString() 00072 { 00073 return __CLASS__ . '-' . parent::getString() . " Faulty File --> " . $this->_sErrFileName . "\n" . "Error Code --> " . $this->_sFileError; 00074 } 00075 00081 public function getValues() 00082 { 00083 $aRes = parent::getValues(); 00084 $aRes['fileName'] = $this->getFileName(); 00085 00086 return $aRes; 00087 } 00088 }