Core::arbitPropertyValidationException
Class arbitPropertyValidationException
Exception thrown when a passed value to a property was invalid. Exception thrown when a passed value to a property was invalid.
Exception
|
--arbitException
|
--arbitPropertyValidationException
Author(s):
|
Version:
|
$Revision: 1523 $ |
|
License:
|
GPL |
Inherited Member Variables
Method Summary
|
public arbitPropertyValidationException |
__construct(
$property
, $expected
)
Create exception from property name and expected value. |
Inherited Methods
|
From arbitException
|
|
public void |
arbitException::__construct()
Construct exception message
Construct exception message of a string with placeholders and the properties array, where the properties are the values, which will replace the placeholders when the exception is echo'd. |
|
protected string |
arbitException::buildMessage()
Build exception message
Replace all placeholders in exception message. has been "borrowed" from ezcTranslations, as this will used for the translation, so that we are using the exact same replacement strategy. |
|
public string |
arbitException::getText()
Get message |
|
public array |
arbitException::getTextValues()
Get properties
Get text properties containing the values, which should replace the placeholders in the message. |
Methods
__construct
arbitPropertyValidationException
__construct(
string
$property
, string
$expected
)
Create exception from property name and expected value. Create exception from property name and expected value.
Parameters:
| Name |
Type |
Description |
$property |
string |
|
$expected |
string |
|
Redefinition of:
| Method |
Description |
arbitException::__construct() |
Construct exception message
Construct exception message of a string with placeholders and the properties array, where the properties are the values, which will replace the placeholders when the exception is echo'd.
|
|