Login   Register  
PHP Classes
elePHPant
Icontem

Package Exception Error

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author  
Picture of Johan Barbier
Name: Johan Barbier <e-mail contact>
Packages: 17 Browse all classes by Johan Barbier Browse all classes by
Country: France France - PHP jobs in France
Age: 41
All time rank: 402 in France France
Week rank: 109 Down5 in France France Down
Innovation award
Innovation award
Nominee: 6x


  Detailed description   Download .zip .tar.gz  
This package can be used to turn PHP run-time errors into catchable exceptions.

It sets the PHP error handler function to point to a class function that will throw exceptions when an error occurs.

The class throws exceptions of different classes according to the type of PHP error that occurred.

All exception classes are derived from a common base class that can return the details about the script and the line of the code on which the error occurred.

  Classes of Johan Barbier  >  Package Exception Error  >  Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Package Exception Error
Base name: exceptionerror
Description: Turn PHP errors into catchable exceptions
Version: 1.0
PHP version: 5.1
License: GNU Lesser General Public License (LGPL)
All time users: 1403 users
All time rank: 2433
Week users: 2 users
Week rank: 1279 Up
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Language Constructs to assist in the language control View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
November 2007
Number 2

Prize: One subscription to the PDF edition of the magazine by PHP Architect
Exception handling is one of the most important features introduced in PHP 5. Exceptions allow separating error handling from normal application program code.

Before PHP 5, runtime errors could be thrown with functions like trigger_error and catched with registered error handling functions.

This package makes it easier to migrate legacy PHP applications and components to use exceptions to catch recoverable errors thrown with PHP 4 error handling functions.

Manuel Lemos

  User ratings  
There are not enough user ratings to display for this class.

  Applications that use this class  
No application links were specified for this class.
Add link image If you know an application of this package, send a message to the author to add a link here.
  Files folder image Files  
File Role Description
Files folder imageclass (1 file)
Accessible without login Plain text file index.php Test Test file

  Files  /  Files folder image class  
File Role Description
  Accessible without login Plain text file package.exceptions.errors.php Class errorException package

Download all files: exceptionerror.tar.gz exceptionerror.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.