You are here

public static function QueryPathIOException::initializeFromError in QueryPath 6

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

Overrides QueryPathParseException::initializeFromError

File

QueryPath/QueryPath.php, line 2248

Class

QueryPathIOException

Code

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