OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Core\Exception\ConnectionException Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Core\Exception\ConnectionException:
+ Collaboration diagram for OxidEsales\EshopCommunity\Core\Exception\ConnectionException:

Public Member Functions

 setAdress ($sAdress)
 
 getAdress ()
 
 setConnectionError ($sConnError)
 
 getConnectionError ()
 
 getString ()
 
 getValues ()
 

Protected Attributes

 $type = 'oxConnectionException'
 

Private Attributes

 $_sAddress
 
 $_sConnectionError
 

Detailed Description

exception class for all kind of connection problems to external servers, e.g.:

  • no connection, proxy problem, wrong configuration, etc.
  • ipayment server
  • online vat id check
  • db server

Member Function Documentation

◆ getAdress()

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::getAdress ( )

Gives address of the external server which caused the exception

Returns
string

◆ getConnectionError()

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::getConnectionError ( )

Gives the connection error returned by the connect function

Returns
string

◆ getString()

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::getString ( )

Get string dump Overrides oxException::getString()

Returns
string

◆ getValues()

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::getValues ( )

Override of oxException::getValues()

Returns
array

◆ setAdress()

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::setAdress (   $sAdress)

Enter address of the external server which caused the exception

Parameters
string$sAdressExternalserver address

◆ setConnectionError()

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::setConnectionError (   $sConnError)

Sets the connection error returned by the connect function

Parameters
string$sConnErrorconnection error

Member Data Documentation

◆ $_sAddress

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::$_sAddress
private

◆ $_sConnectionError

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::$_sConnectionError
private

◆ $type

OxidEsales\EshopCommunity\Core\Exception\ConnectionException::$type = 'oxConnectionException'
protected

The documentation for this class was generated from the following file: