function UserpointsInvalidPropertyException::__construct in User Points 7.2
File
- ./
userpoints.transaction.inc, line 1175 - Contains the UserpointsTransaction and related classes.
Class
- UserpointsInvalidPropertyException
- This exception is thrown when trying to access an unknown property through the magic UserpointsTransaction::__get() method.
Code
function __construct($name, $code = NULL, $previous = NULL) {
parent::__construct(t('Userpoints transaction does not have a @property property.', array(
'@property' => $name,
)), $code, $previous);
}