1 | <?php |
||
26 | class ParseException extends \ErrorException |
||
27 | { |
||
28 | /** |
||
29 | * Constructs a ParseException |
||
30 | * |
||
31 | * @param string $message The value to parse |
||
32 | * @param string $line The line of the value |
||
33 | * @param int $line_num The line num of the value |
||
34 | */ |
||
35 | 21 | public function __construct($message, $line = null, $line_num = null) |
|
41 | |||
42 | /** |
||
43 | * Constructs a ParseException message |
||
44 | * |
||
45 | * @param string $message The value to parse |
||
46 | * @param string $line The line of the value |
||
47 | * @param int $line_num The line num of the value |
||
48 | * |
||
49 | * @return string The exception message |
||
50 | */ |
||
51 | 21 | private function createMessage($message, $line, $line_num) |
|
63 | } |
||
64 |