| 1 | <?php  | 
            ||
| 9 | class ProductException extends \Exception  | 
            ||
| 10 | { | 
            ||
| 11 | /**  | 
            ||
| 12 | * ProductException constructor.  | 
            ||
| 13 | *  | 
            ||
| 14 | * @param string $message An error message  | 
            ||
| 15 | * @param \Exception $innerException The underlying exception (optional)  | 
            ||
| 16 | */  | 
            ||
| 17 | 6 | public function __construct($message, $innerException = null)  | 
            |
| 21 | }  |