Subversion Repositories PHPX

Compare Revisions

Last modification

Ignore whitespace Rev 9 → Rev 10

/trunk/footnotes.class.php
168,7 → 168,7
* @param string $name
* Name of the property to be read-accessed. Currently only 'sign'
* is supported.
* @throws Exception if a non-existing property is accessed
* @throws InvalidArgumentException if a non-existing property is accessed
* @return mixed
* Property value
*/
180,7 → 180,8
}
else
{
throw new Exception('No such property ' . get_class($this) . "::\$$name");
throw new InvalidArgumentException(
'No such property ' . get_class($this) . "::\$$name");
}
}