PDepend\Source\Parser\InvalidStateException::__construct PHP Method

__construct() public method

Constructs a new invalid state exception.
public __construct ( integer $lineNumber, string $fileName, string $reason )
$lineNumber integer Line number where the parser has stopped.
$fileName string The source file where this exception occurred.
$reason string Short description what has happened.
    public function __construct($lineNumber, $fileName, $reason)
    {
        parent::__construct(sprintf('The parser has reached an invalid state near line "%d" in file ' . '"%s". Please check the following conditions: %s', $lineNumber, $fileName, $reason));
    }
InvalidStateException