Parser.php
protected function throwException($message, array $relatedToken = null)
    {

        if ($relatedToken)
            $message .= "\n(".$relatedToken['type']
                .' at '.$relatedToken['line']
                .':'.$relatedToken['offset'].')';

        throw new Exception(
            "Failed to parse Jade: $message"
        );
    }
protected function throwException($message, array $relatedToken = null)
    {

        if ($relatedToken)
            $message .= "\n(".$relatedToken['type']
                .' at '.$relatedToken['line']
                .':'.$relatedToken['offset'].')';

        throw new Exception(
            "Failed to parse Jade: $message"
        );
    }
protected function throwException ( $ message , array $ relatedToken = null ) { if ( $ relatedToken ) $ message .= "\n(" . $ relatedToken [ 'type' ] . ' at ' . $ relatedToken [ 'line' ] . ':' . $ relatedToken [ 'offset' ] . ')' ; throw new Exception ( "Failed to parse Jade: $message" ) ; }
Throws a Parser-Exception.

If a related token is passed, it will also append
the location in the input of that token

@param string     $message      a meaningful error-message
@param array|null $relatedToken the token related to this error

@throws Exception
Throws a Parser - Exception .