Moodle  2.2.1
http://www.collinsharper.com
C:/xampp/htdocs/moodle/lib/adodb/adodb-exceptions.inc.php File Reference

Go to the source code of this file.

Data Structures

class  ADODB_Exception

Enumerations

enum  ADODB_ERROR_HANDLER

Functions

 adodb_throw ($dbms, $fn, $errno, $errmsg, $p1, $p2, $thisConnection)

Variables

if(!defined('ADODB_ERROR_HANDLER_TYPE'))
define('ADODB_ERROR_HANDLER_TYPE' 
E_USER_ERROR

Enumeration Type Documentation

Definition at line 18 of file adodb-exceptions.inc.php.


Function Documentation

adodb_throw ( dbms,
fn,
errno,
errmsg,
p1,
p2,
thisConnection 
)

Default Error Handler. This will be called with the following params

Parameters:
$dbmsthe RDBMS you are connecting to
$fnthe name of the calling function (in uppercase)
$errnothe native error number from the database
$errmsgthe native error msg from the database
$p1$fn specific parameter - see below
$P2$fn specific parameter - see below

Definition at line 71 of file adodb-exceptions.inc.php.

Here is the caller graph for this function:


Variable Documentation

if (!defined('ADODB_ERROR_HANDLER_TYPE')) define('ADODB_ERROR_HANDLER_TYPE' E_USER_ERROR
Version:
V5.14 8 Sept 2011 (c) 2000-2011 John Lim (jlim::natsoft.com). All rights reserved. Released under both BSD license and Lesser GPL library license. Whenever there is any discrepancy between the two licenses, the BSD license will take precedence.

Set tabs to 4 for best viewing.

Latest version is available at http://php.weblogs.com

Exception-handling code using PHP5 exceptions (try-catch-throw).

Definition at line 17 of file adodb-exceptions.inc.php.

 All Data Structures Namespaces Files Functions Variables Enumerations