guestbookdbexception.php 342 Bytes
<?php

require_once (OEDL_DIR . 'libs/myexception.php');

define ('DB_OPEN_EXC', 0);
define ('DB_GETVAL_EXC', 1);
define ('DB_INSERT_EXC', 2);

class GuestbookDbException extends MyException
{
	protected $msg = array (
		'Failed to open db',
		'Error getting value for key.',
		'Could not create valid key for data. Tried 10 times'
	);
}

?>