| 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. |