1 | <?php |
||
17 | class StemplerException extends RuntimeException implements ExceptionInterface |
||
18 | { |
||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $token = []; |
||
23 | |||
24 | /** |
||
25 | * @param string $message |
||
26 | * @param array $token |
||
27 | * @param int $code |
||
28 | * @param \Exception $previous |
||
29 | */ |
||
30 | public function __construct($message, array $token = [], $code = 0, \Exception $previous = null) |
||
35 | |||
36 | /** |
||
37 | * @return array |
||
38 | */ |
||
39 | public function getToken() |
||
43 | |||
44 | /** |
||
45 | * Set exception location. |
||
46 | * |
||
47 | * @param string $file |
||
48 | * @param string $line |
||
49 | */ |
||
50 | public function setLocation($file, $line) |
||
55 | } |