Constructor.
string $message The error message:
integer $parsedLine The line where the error occurred:
integer $snippet The snippet of code near the problem:
string $parsedFile The file name where the error occurred:
Exception $previous The previous exception:
public function __construct($message, $parsedLine = -1, $snippet = null, $parsedFile = null, Exception $previous = null) {
$this->parsedFile = $parsedFile;
$this->parsedLine = $parsedLine;
$this->snippet = $snippet;
$this->rawMessage = $message;
$this
->updateRepr();
parent::__construct($this->message, 0, $previous);
}