The WebAbility® Network Developers - Documentation
WebAbility Site
\dominion\DB_CursorException Reference

I. Structure:


- Classes tree:
  • WAThrowable [New]
  • WAException [New]
  • DB_CursorException

- Direct knows subclasses:
none

II. Description:


The class DB_CursorException is thrown when any error occurs into the DB_Cursor methods.
This is an exception and you should capture it with a try-catch code in your application when you use database cursors.

The possible sent messages are:

- DB_Cursor.base: The DB_Base database connector is not correctly set.
- DB_Cursor.exec: The execution of the SQL sentence has failed: (the SQL sentence here)


III. Reference:


3.1. Constructor:

DB_CursorException($message)
$message contains the message to notify the exception.

3.2. Attributes:

none

3.3. Methods:

none