3require_once(
"./Services/Exceptions/classes/class.ilException.php");
22 public function __construct($a_message, $a_code = self::DB_GENERAL)
25 parent::__construct($a_message, $a_code);
35 $message =
'An undefined Database Exception occured';
37 case static::DB_GENERAL:
38 $message =
'An undefined Database Exception occured';
An exception for terminatinating execution or to throw for unit testing.
Class ilDatabaseException.
__construct($a_message, $a_code=self::DB_GENERAL)
ilDatabaseException constructor.
Base class for ILIAS Exception handling.
catch(Exception $e) $message