Skip to content
Mo McRoberts edited this page Aug 7, 2011 · 2 revisions

Class encapsulating database-related exceptions.

DBException is a class derived from Exception.

View source

Synopsis

uses('db');

throw new DBException($code, $message, $dbQuery);

Public Methods

  • [[DBException::__construct]](): The DBException constructor is responsible for initialising a new database exception object.

Clone this wiki locally