- Changed method visibility to public for error() and exception() to resolve PHP 5.3's failure to use them in the proper context