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

Public Member Functions

 setVoucherNr ($sVoucherNr)
 getVoucherNr ()
 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

 $_sVoucherNr

Additional Inherited Members

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

Detailed Description

exception class covering voucher exceptions

Definition at line 6 of file oxvoucherexception.php.

Member Function Documentation

oxVoucherException::getString ( )

Get string dump Overrides oxException::getString()

Returns
string

Reimplemented from oxException.

Definition at line 42 of file oxvoucherexception.php.

oxVoucherException::getValues ( )

Creates an array of field name => field value of the object. To make a easy conversion of exceptions to error messages possible. Should be extended when additional fields are used! Overrides oxException::getValues().

Returns
array

Reimplemented from oxException.

Definition at line 55 of file oxvoucherexception.php.

oxVoucherException::getVoucherNr ( )

get voucher nr. involved

Returns
string

Definition at line 31 of file oxvoucherexception.php.

oxVoucherException::setVoucherNr (   $sVoucherNr)

Sets the voucher number as a string

Parameters
string$sVoucherNrvoucher number

Definition at line 21 of file oxvoucherexception.php.

Member Data Documentation

oxVoucherException::$_sVoucherNr
private

Definition at line 14 of file oxvoucherexception.php.


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