CRM-12427: PHP::raiseError objects are not returned up the call stack

See http://issues.civicrm.org/jira/browse/CRM-12427