Class DibiDriverException


database server exception.

Exception
   |
   --DibiException
      |
      --DibiDriverException
Copyright: Copyright (c) 2005, 2010 David Grudl
Located: in /libs/DibiException.php (line 92)
Method Summary
static bool
catchError (string &$message)
Returns catched error/warning message.
static void
Starts catching potential errors/warnings.
static void
_errorHandler ($code, $message)
Internal error handler. Do not call directly.
Methods Inherited From DibiException
DibiException::__construct(), DibiException::getPanels(), DibiException::getSql(), DibiException::__toString()

Method Details

line 121

catchError

public static bool catchError (string &$message)

Returns catched error/warning message.

Input
string &$message catched message
Output
bool  

line 108

tryError

public static void tryError ()

Starts catching potential errors/warnings.

Output
void  

line 135

_errorHandler

public static void _errorHandler ($code, $message)

Internal error handler. Do not call directly.

Input
$code
$message
Output
void