PluginProbe
CSS & JavaScript Toolbox / 8.4.1
CSS & JavaScript Toolbox v8.4.1
trunk 0.3 0.8 10 10.1 11 11.2 11.3 11.4 11.5 11.6 11.7 11.8 11.9 11.9.1 12 12.0 12.0.1 12.0.3 12.0.4 12.0.5 12.0.6 12.0.7 6.0 6.0.11 All 60 releases
css-javascript-toolbox / framework / exceptions.inc.php

exceptions.inc.php in CSS & JavaScript Toolbox 8.4.1, at framework/exceptions.inc.php

45 lines 633 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 *
4 */
5
6 /**
7 *
8 * @version 6
9 */
10 class CJTExceptionBase extends Exception {
11
12 /**
13 * put your comment there...
14 *
15 */
16 public function __toString() {
17 return parent::__toString();
18 }
19
20 } // End class.
21
22 class CJTPropertyNotFoundException extends CJTExceptionBase {
23
24 /**
25 *
26 */
27 const PROPERTY_NOT_FOUND_MESSAGE = 'Property not found';
28
29 /**
30 * put your comment there...
31 *
32 * @var mixed
33 */
34 private $property_name = null;
35
36 /**
37 * put your comment there...
38 *
39 */
40 public function __construct($name) {
41 parent::__construct(self::PROPERTY_NOT_FOUND_MESSAGE);
42 $this->property_name = $name;
43 }
44
45 } // End class.