PHP Classes
Icontem

Class: Package Exception Error


  Search   All class groups All class groups   Latest entries Latest entries   Top 10 charts Top 10 charts   Newsletter Newsletter   Blog Blog   Forums Forums   Help FAQ Help FAQ  
  Login   Register  
Recommend this page to a friend! ReTweet ReTweet Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Johan Barbier  >  Package Exception Error  >  Download  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Package Exception Error Support forum
Base name: exceptionerror
Description: Turn PHP errors into catchable exceptions
Related top rated classes: , , ,
Version: 1.0
Required PHP version: 5.1
License: GNU Lesser General Public License (LGPL)
All time users: 999 users
All time rank: 2488
Week users: 4 users
Week rank: 1773
 
  Author   Group folder image Groups   Detailed description  
  Rate classes User ratings   Applications   Files Files  

Author

Picture of Johan Barbier
Name: Johan Barbier <e-mail contact>
Published packages: 17 Browse this author's classes Browse this author's classes
Country: France France - PHP jobs in France
Home page: ???
Age: 37
All time rank: 48
Week rank: 33

Innovation Award

PHP Programming Innovation award nominee
November 2007
Number 2
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

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

Detailed description

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.

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

File Role Description
Files folder image class
  Accessible without login Plain text file package.exceptions.errors.php Class errorException package
Accessible without login Plain text file index.php Test Test file
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.

 
  Advertise on this site Advertise on this site   Site map Site map   Statistics Statistics   Site tips Site tips   Privacy policy Privacy policy   Contact Contact  

For more information send a message to :
info at phpclasses dot org.
Copyright (c) Icontem 1999-2009 PHP Classes - PHP Class Scripts
  PHP Book Reviews - Reviews of books and other products