Overview

Packages

  • Actions
  • Codegen
  • Controls
    • Base
  • DatabaseAdapters
  • Events
  • None
  • Sessions
  • Tests

Classes

  • QDatabaseBase
  • QDatabaseFieldType
  • QDatabaseForeignKey
  • QDatabaseIndex
  • QDatabaseRowBase
  • QInformixPdoDatabase
  • QMySqlDatabase
  • QMySqlDatabaseField
  • QMySqli5ClusterDatabase
  • QMySqli5Database
  • QMySqli5DatabaseField
  • QMySqli5DatabaseResult
  • QMySqliDatabase
  • QMySqliDatabaseField
  • QMySqliDatabaseResult
  • QMySqliDatabaseRow
  • QOracleDatabase
  • QOracleDatabaseRow
  • QPdoDatabase
  • QPostgreSqlDatabase
  • QPostgreSqlDatabaseField
  • QPostgreSqlDatabaseResult
  • QPostgreSqlDatabaseRow
  • QPostgreSqlPdoDatabase
  • QSqLite3PdoDatabase
  • QSqlServer2005Database
  • QSqlServer2005DatabaseField
  • QSqlServer2005DatabaseResult
  • QSqlServer2005DatabaseRow
  • QSqlServerDatabase
  • QSqlServerDatabaseField
  • QSqlServerDatabaseResult
  • QSqlServerDatabaseRow

Exceptions

  • QDatabaseExceptionBase
  • QMySqliDatabaseException
  • QOracleDatabaseException
  • QPostgreSqlDatabaseException
  • QSqlServer2005DatabaseException
  • QSqlServerDatabaseException
  • Overview
  • Package
  • Class

Class QOracleDatabaseException

Class to handle exceptions related to database querying

Exception
Extended by QCallerException
Extended by QDatabaseExceptionBase
Extended by QOracleDatabaseException
Package: DatabaseAdapters
Located at includes/database/QOracleDatabase.class.php
Methods summary
public
# __construct( string $strMessage, integer $intNumber, $strQuery )

The constructor of CallerExceptions. Takes in a message string as well as an optional Offset parameter (defaults to 1). The Offset specifiies how many calls up the call stack is responsible for the exception. By definition, when a CallerException is called, at the very least the Caller of the most immediate function, which is 1 up the call stack, is responsible. So therefore, by default, intOffset is set to 1.

The constructor of CallerExceptions. Takes in a message string as well as an optional Offset parameter (defaults to 1). The Offset specifiies how many calls up the call stack is responsible for the exception. By definition, when a CallerException is called, at the very least the Caller of the most immediate function, which is 1 up the call stack, is responsible. So therefore, by default, intOffset is set to 1.

It is rare for intOffset to be set to an integer other than 1.

Normally, the Offset would be altered by calls to IncrementOffset at every step the CallerException is caught/rethrown up the call stack.

Parameters

$strMessage
the Message of the exception
$intNumber
$intOffset the optional Offset value (currently defaulted to 1)
$strQuery

Overrides

QCallerException::__construct()
Methods inherited from QDatabaseExceptionBase
__get()
Methods inherited from QCallerException
DecrementOffset(), IncrementOffset(), setMessage()
Methods inherited from Exception
__toString(), __wakeup(), getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from QDatabaseExceptionBase
$intErrorNumber, $strQuery
Properties inherited from Exception
$code, $file, $line, $message
Magic properties inherited from QDatabaseExceptionBase
$ErrorNumber, $Query
Magic properties inherited from QCallerException
$BackTrace, $Offset, $TraceArray
API documentation generated by ApiGen