Tutorial Extension  1.0.0
SellerDeck Extensions - Tutorial Extension
Public Member Functions | List of all members
InvalidCurrencyException Class Reference

Inherits ValidatorException.

Public Member Functions

 __construct ($sCurrency)
 
 GetInvalidCurrency ()
 

Detailed Description

Definition at line 14 of file InvalidCurrencyException.php.

Constructor & Destructor Documentation

__construct (   $sCurrency)

__construct - Object constructor

public

Parameters
string$sCurrencyCurrency
Returns
void

Definition at line 29 of file InvalidCurrencyException.php.

30  {
31  $this->m_sCurrency = $sCurrency;
32  parent::__construct(sprintf(EXCEPTION_MSG_INVALID_CURRENCY, $sCurrency), EXCEPTION_CODE_INVALID_CURRENCY);
33  }

Member Function Documentation

GetInvalidCurrency ( )

GetInvalidCurrency - Getting Invalid Currency

public

Returns
string Currency

Definition at line 41 of file InvalidCurrencyException.php.

42  {
43  return $this->m_sCurrency;
44  }

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