Compare Revisions
Last modification
- Rev 10 2010-05-26 17:32:51
- Author: PointedEars
- Log message:
* footnotes.class.php
- Footnote:__get(): Refined exception
/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 InvalidArgumentException if a non-existing property is accessed |
* @throws Exception if a non-existing property is accessed |
* @return mixed |
* Property value |
*/ |
180,8 → 180,7 |
} |
else |
{ |
throw new InvalidArgumentException( |
'No such property ' . get_class($this) . "::\$$name"); |
throw new Exception('No such property ' . get_class($this) . "::\$$name"); |
} |
} |
|