00001 <?php 00002 00003 00007 class oxArticleException extends oxException 00008 { 00014 protected $_sArticleNr; 00015 00023 public function setArticleNr($sArticleNr) 00024 { 00025 $this->_sArticleNr = $sArticleNr; 00026 } 00027 00033 public function getArticleNr() 00034 { 00035 return $this->_sArticleNr; 00036 } 00037 00044 public function getString() 00045 { 00046 return __CLASS__ .'-'.parent::getString()." Faulty Article --> ".$this->_sArticleNr . "\n"; 00047 } 00048 00049 00055 public function getValues() 00056 { 00057 $aRes = parent::getValues(); 00058 $aRes['articleNr'] = $this->getArticleNr(); 00059 return $aRes; 00060 } 00061 }