Login   Register  
PHP Classes
elePHPant
Icontem

File: lib/ErrorException.class.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Matías Gentiletti  >  Picasa Photo Gallery  >  lib/ErrorException.class.php  >  Download  
File: lib/ErrorException.class.php
Role: Auxiliary script
Content type: text/plain
Description: Error Exception
Class: Picasa Photo Gallery
Extract data picture galleries from Picasa site
Author: By
Last change:
Date: 2008-08-27 21:43
Size: 245 bytes
 

Contents

Class file image Download
<?php
/**
 * Conversion de errores PHP a Exceptions
 */

function exceptionsHandler($code$string$file$line) {  
   throw new 
ErrorException($string0$code,$file,$line);
}  

set_error_handler('exceptionsHandler'E_ALL); 

?>