| 1 | <?php |
||
| 17 | class GenericsException extends \Exception |
||
| 18 | { |
||
| 19 | use Interpolator; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Create a new GenericsException |
||
| 23 | * |
||
| 24 | * @param string $message |
||
| 25 | * The message to throw; May contain placeholder like {placeholder} and will be replaced by context |
||
| 26 | * elements |
||
| 27 | * @param array $context |
||
| 28 | * The context elements to replace in message |
||
| 29 | * @param number $code |
||
| 30 | * Optional code |
||
| 31 | * @param \Exception $previous |
||
| 32 | * Optional previous exception |
||
| 33 | */ |
||
| 34 | 57 | public function __construct($message, array $context = array(), $code = 0, \Exception $previous = null) |
|
| 38 | } |
||
| 39 |