- Replaced PEAR raise error with exceptions.