OXID eShop CE  4.10.7
 All Classes Namespaces Files Functions Variables Pages
oxConnectionException Class Reference
+ Inheritance diagram for oxConnectionException:
+ Collaboration diagram for oxConnectionException:

Public Member Functions

 setAdress ($sAdress)
 getAdress ()
 setConnectionError ($sConnError)
 getConnectionError ()
 getString ()
 getValues ()
- Public Member Functions inherited from oxException
 __construct ($sMessage="not set", $iCode=0)
 setLogFileName ($sFile)
 getLogFileName ()
 setMessage ($sMessage)
 setRenderer ()
 isRenderer ()
 setNotCaught ()
 isNotCaught ()
 debugOut ()
 setDestination ($sDestination)

Private Attributes

 $_sAddress
 $_sConnectionError

Additional Inherited Members

- Protected Attributes inherited from oxException
 $_sFileName = 'EXCEPTION_LOG.txt'
 $_blRenderer = false
 $_blNotCaught = false

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

Definition at line 10 of file oxconnectionexception.php.

Member Function Documentation

oxConnectionException::getAdress ( )

Gives address of the external server which caused the exception

Returns
string

Definition at line 42 of file oxconnectionexception.php.

oxConnectionException::getConnectionError ( )

Gives the connection error returned by the connect function

Returns
string

Definition at line 62 of file oxconnectionexception.php.

oxConnectionException::getString ( )

Get string dump Overrides oxException::getString()

Returns
string

Reimplemented from oxException.

Definition at line 73 of file oxconnectionexception.php.

oxConnectionException::getValues ( )

Override of oxException::getValues()

Returns
array

Reimplemented from oxException.

Definition at line 83 of file oxconnectionexception.php.

oxConnectionException::setAdress (   $sAdress)

Enter address of the external server which caused the exception

Parameters
string$sAdressExternalserver address

Definition at line 32 of file oxconnectionexception.php.

oxConnectionException::setConnectionError (   $sConnError)

Sets the connection error returned by the connect function

Parameters
string$sConnErrorconnection error

Definition at line 52 of file oxconnectionexception.php.

Member Data Documentation

oxConnectionException::$_sAddress
private

Definition at line 18 of file oxconnectionexception.php.

oxConnectionException::$_sConnectionError
private

Definition at line 25 of file oxconnectionexception.php.


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