oxfileexception.php

Go to the documentation of this file.
00001 <?php
00002 
00003 
00009 class oxFileException extends oxException
00010 {
00016     protected $_sFileName;
00017 
00023     protected $_sFileError;
00024 
00032     public function setFileName($sFileName)
00033     {
00034         $this->_sFileName = $sFileName;
00035     }
00036 
00042     public function getFileName()
00043     {
00044         return $this->_sFileName;
00045     }
00046 
00054     public function setFileError($sFileError)
00055     {
00056         $this->_sFileError = $sFileError;
00057     }
00058 
00064     public function getFileError()
00065     {
00066         return $this->_sFileError;
00067     }
00068 
00075     public function getString()
00076     {
00077         return __CLASS__.'-'.parent::getString()." Faulty File --> ".$this->_sFileName."\n". "Error Code --> ".$this->_sFileError;
00078     }
00079 
00085     public function getValues()
00086     {
00087         $aRes = parent::getValues();
00088         $aRes['fileName'] = $this->getFileName();
00089         return $aRes;
00090     }
00091 }

Generated on Wed Apr 22 12:26:30 2009 for OXID eShop CE by  doxygen 1.5.5