summaryrefslogtreecommitdiff
path: root/lib/querypath/src/QueryPath/IOException.php
blob: b23b381da5ab25ca27f799ad29db3ec90395d082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?php
/**
 * @file
 *
 * General IO exception.
 */

namespace QueryPath;

/**
 * Indicates that an input/output exception has occurred.
 *
 * @ingroup querypath_core
 */
class IOException extends \QueryPath\ParseException {
  public static function initializeFromError($code, $str, $file, $line, $cxt) {
    $class = __CLASS__;
    throw new $class($str, $code, $file, $line);
  }
}