Remove PEAR dependency - use normal Exceptions