Packages

  • dibi
    • drivers
    • nette
    • reflection
  • None
  • PHP

Classes

  • dibi
  • DibiConnection
  • DibiDataSource
  • DibiDateTime
  • DibiEvent
  • DibiFileLogger
  • DibiFirePhpLogger
  • DibiFluent
  • DibiObject
  • DibiResult
  • DibiResultIterator
  • DibiRow
  • DibiTranslator

Interfaces

  • IDataSource
  • IDibiDriver
  • IDibiReflector
  • IDibiResultDriver

Exceptions

  • DibiDriverException
  • DibiException
  • DibiNotImplementedException
  • DibiNotSupportedException
  • DibiPcreException
  • Overview
  • Package
  • Class
  • Tree

Class DibiException

dibi common exception.

Exception
Extended by DibiException

Direct known subclasses

DibiDriverException, DibiNotImplementedException, DibiNotSupportedException, DibiProcedureException
Package: dibi
Author: David Grudl
Located at libs/DibiException.php
Methods summary
public
# __construct( string $message = NULL, integer $code = 0, string $sql = NULL )

Construct a dibi exception.

Construct a dibi exception.

Parameters

$message
string
Message describing the exception
$code
integer
Some code
$sql
string
SQL command
final public string
# getSql( )

Returns

string
The SQL passed to the constructor
public string
# __toString( )

Returns

string
string represenation of exception with SQL command
Methods inherited from Exception
getCode(), getFile(), getLine(), getMessage(), getPrevious(), getTrace(), getTraceAsString()
Properties inherited from Exception
$code, $file, $line, $message
dibi API documentation API documentation generated by ApiGen 2.3.0