oxlanguageexception.php

Go to the documentation of this file.
00001 <?php
00002 
00006 class oxLanguageException extends oxException
00007 {
00013     private $_sLangConstant = "";
00014 
00022     public function setLangConstant( $sLangConstant )
00023     {
00024         $this->_sLangConstant = $sLangConstant;
00025     }
00026 
00032     public function getLangConstant()
00033     {
00034         return $this->_sLangConstant;
00035     }
00036 
00043     public function getString()
00044     {
00045         return __CLASS__.'-'.parent::getString()." Faulty Constant --> ".$this->_sLangConstant."\n";
00046     }
00047 
00056     public function getValues()
00057     {
00058         $aRes = parent::getValues();
00059         $aRes['langConstant'] = $this->getLangConstant();
00060         return $aRes;
00061     }
00062 }