00001 <?php
00002
00006 class oxVoucherException extends oxException
00007 {
00013 private $_sVoucherNr;
00014
00022 public function setVoucherNr( $sVoucherNr )
00023 {
00024 $this->_sVoucherNr = ( string ) $sVoucherNr;
00025 }
00026
00032 public function getVoucherNr()
00033 {
00034 return $this->_sVoucherNr;
00035 }
00036
00043 public function getString()
00044 {
00045 return __CLASS__.'-'.parent::getString()." Faulty Voucher Nr --> ".$this->_sVoucherNr;
00046 }
00047
00056 public function getValues()
00057 {
00058 $aRes = parent::getValues();
00059 $aRes['voucherNr'] = $this->getVoucherNr();
00060 return $aRes;
00061 }
00062 }