Class miDBException

Description

Database operation exception

  • copyright: Copyright (c) 2006 Mirchev Ideas Ltd. All rights reserved.

Located in /util/Exceptions.php (line 22)

Exception
   |
   --miException
      |
      --miDBException
Class Constant Summary
Variable Summary
mixed $_dbCode
Method Summary
miDBException __construct (string $message, int $code, [int $dbCode = 0], [string $query = ''])
int getDbCode ()
Variables
mixed $_dbCode (line 31)

The actual database error code

  • access: protected
Methods
Constructor __construct (line 42)

Construct DB exception

  • access: public
miDBException __construct (string $message, int $code, [int $dbCode = 0], [string $query = ''])
  • string $message
  • int $code
  • int $dbCode
  • string $query
getDbCode (line 54)

Returns the actual db error code

  • access: public
int getDbCode ()
Class Constants
EXCEPTION_CONNECT = 1 (line 23)
EXCEPTION_QUERY = 3 (line 25)
EXCEPTION_RECORD_NOT_FOUND = 4 (line 26)
EXCEPTION_SELECTDB = 2 (line 24)

Documentation generated on Thu, 08 May 2008 16:57:27 +0300 by phpDocumentor 1.4.1