oxfileexception.php

Go to the documentation of this file.
00001 <?php
00002 
00008 class oxFileException extends oxException
00009 {
00015     protected $_sErrFileName;
00016 
00022     protected $_sFileError;
00023 
00031     public function setFileName($sFileName)
00032     {
00033         $this->_sErrFileName = $sFileName;
00034     }
00035 
00041     public function getFileName()
00042     {
00043         return $this->_sErrFileName;
00044     }
00045 
00053     public function setFileError($sFileError)
00054     {
00055         $this->_sFileError = $sFileError;
00056     }
00057 
00063     public function getFileError()
00064     {
00065         return $this->_sFileError;
00066     }
00067 
00074     public function getString()
00075     {
00076         return __CLASS__.'-'.parent::getString()." Faulty File --> ".$this->_sErrFileName."\n". "Error Code --> ".$this->_sFileError;
00077     }
00078 
00084     public function getValues()
00085     {
00086         $aRes = parent::getValues();
00087         $aRes['fileName'] = $this->getFileName();
00088         return $aRes;
00089     }
00090 }