TYPO3 CMS  TYPO3_6-2
adodb-exceptions.inc.php File Reference

Go to the source code of this file.

Classes

class  ADODB_Exception
 

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
 
const ADODB_ERROR_HANDLER 'adodb_throw'
 

Function Documentation

◆ adodb_throw()

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.

References ADODB_Exception\$dbms, and ADODB_Exception\$fn.

Referenced by ADODB_Active_Record\Error().

Variable Documentation

◆ ADODB_ERROR_HANDLER

const ADODB_ERROR_HANDLER 'adodb_throw'

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

◆ E_USER_ERROR

if (!defined( 'ADODB_ERROR_HANDLER_TYPE')) define( 'ADODB_ERROR_HANDLER_TYPE' E_USER_ERROR
Version
V5.19 23-Apr-2014 (c) 2000-2014 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.