4 * Copyright (c) 2008 Jerry Jalava <jerry.jalava@gmail.com>
5 * Licensed under the GPLv3 license
6 * http://www.gnu.org/licenses/gpl.html
11 * Ajatus base exception
13 class ajatus_exception
extends Exception
15 public function __construct($message, $code=0)
17 parent
::__construct($message, $code);
22 * Ajatus connection exception
24 class ajatus_connection_exception
extends ajatus_exception
29 * Ajatus database exception
31 class ajatus_database_exception
extends ajatus_exception
36 public function __construct($message, $code=404)
38 parent
::__construct($message, $code);
43 * Ajatus view exception
45 class ajatus_view_exception
extends ajatus_exception
50 public function __construct($message, $code=404)
52 parent
::__construct($message, $code);
57 * Ajatus type exception
59 class ajatus_type_exception
extends ajatus_exception
64 * Ajatus helper exception
66 class ajatus_helper_exception
extends ajatus_exception
71 * Ajatus metadata exception
73 class ajatus_metadata_exception
extends ajatus_exception
78 * Ajatus action exception
80 class ajatus_action_exception
extends ajatus_exception