oxconnectionexception.php

Go to the documentation of this file.
00001 <?php
00002 
00003 
00011 class oxConnectionException extends oxException
00012 {
00018     private $_sAddress;
00019 
00025     private $_sConnectionError;
00026 
00034     public function setAdress($sAdress)
00035     {
00036         $this->_sAddress = $sAdress;
00037     }
00038 
00044     public function getAdress()
00045     {
00046         return $this->_sAddress;
00047     }
00048 
00056     public function setConnectionError( $sConnError )
00057     {
00058         $this->_sConnectionError = $sConnError;
00059     }
00060 
00066     public function getConnectionError()
00067     {
00068         return $this->_sConnectionError;
00069     }
00070 
00077     public function getString()
00078     {
00079         return __CLASS__ .'-'.parent::getString()." Connection Adress --> ".$this->_sAddress."\n". "Connection Error --> ". $this->_sConnectionError;
00080     }
00081 
00087     public function getValues()
00088     {
00089         $aRes = parent::getValues();
00090         $aRes['adress'] = $this->getAdress();
00091         $aRes['connectionError'] = $this->getConnectionError();
00092         return $aRes;
00093     }
00094 }

Generated on Wed May 13 13:25:51 2009 for OXID eShop CE by  doxygen 1.5.5