| 1 | <?php |
||
| 8 | class Exception extends \Exception |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * __Construct function. |
||
| 12 | * |
||
| 13 | * Redefine the exception so message isn't optional |
||
| 14 | * |
||
| 15 | * @param string $message |
||
| 16 | * @param int $code |
||
| 17 | * @param Exception $previous |
||
| 18 | */ |
||
| 19 | public function __construct($message, $code = 0, self $previous = null) |
||
| 24 | } |
||
| 25 |