00001 <?php
00002
00003
00007 class oxArticleException extends oxException
00008 {
00014 protected $_sArticleNr = null;
00015
00021 protected $_sProductId = null;
00022
00030 public function setArticleNr($sArticleNr)
00031 {
00032 $this->_sArticleNr = $sArticleNr;
00033 }
00034
00040 public function getArticleNr()
00041 {
00042 return $this->_sArticleNr;
00043 }
00044
00052 public function setProductId( $sProductId )
00053 {
00054 $this->_sProductId = $sProductId;
00055 }
00056
00062 public function getProductId()
00063 {
00064 return $this->_sProductId;
00065 }
00066
00073 public function getString()
00074 {
00075 return __CLASS__ .'-'.parent::getString()." Faulty Article --> ".$this->_sArticleNr . "\n";
00076 }
00077
00078
00084 public function getValues()
00085 {
00086 $aRes = parent::getValues();
00087 $aRes['articleNr'] = $this->getArticleNr();
00088 $aRes['productId'] = $this->getProductId();
00089 return $aRes;
00090 }
00091 }