|
Moodle
2.2.1
http://www.collinsharper.com
|
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 |
| enum ADODB_ERROR_HANDLER |
Definition at line 18 of file adodb-exceptions.inc.php.
| adodb_throw | ( | $ | dbms, |
| $ | fn, | ||
| $ | errno, | ||
| $ | errmsg, | ||
| $ | p1, | ||
| $ | p2, | ||
| $ | thisConnection | ||
| ) |
Default Error Handler. This will be called with the following params
| $dbms | the RDBMS you are connecting to |
| $fn | the name of the calling function (in uppercase) |
| $errno | the native error number from the database |
| $errmsg | the 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.

| if (!defined('ADODB_ERROR_HANDLER_TYPE')) define('ADODB_ERROR_HANDLER_TYPE' E_USER_ERROR |
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.