| title | DBException — Core Library |
|---|---|
| package | lib |
| packageTitle | Core Library |
| layout | default |
| className | DBException |
| type | class |
Class encapsulating database-related exceptions.
DBException is a class derived from Exception.
uses('db');
throw new DBException($code, $message, $dbQuery);
DBException::__construct(): TheDBExceptionconstructor is responsible for initialising a new database exception object.