You are here

public static function QueryPathParseException::initializeFromError in QueryPath 6

Same name and namespace in other branches
  1. 7.3 QueryPath/QueryPath.php \QueryPathParseException::initializeFromError()
  2. 7.2 QueryPath/QueryPath.php \QueryPathParseException::initializeFromError()
1 method overrides QueryPathParseException::initializeFromError()
QueryPathIOException::initializeFromError in QueryPath/QueryPath.php

File

QueryPath/QueryPath.php, line 2239

Class

QueryPathParseException

Code

public static function initializeFromError($code, $str, $file, $line, $cxt) {
  $class = __CLASS__;
  throw new $class($str, $code, $file, $line);
}