PHP Classes

File: lib/ErrorException.class.php

Recommend this page to a friend!
  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: 16 years ago
Size: 245 bytes
 

Contents

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

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

set_error_handler('exceptionsHandler', E_ALL);

?>