diff options
author | emkael <emkael@tlen.pl> | 2017-01-18 20:07:16 +0100 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2017-01-18 20:07:16 +0100 |
commit | 9a9c04512e5dcb77c7fe5d850e3f2a0250cc160e (patch) | |
tree | fed46b5f4c2ed3a050bb1a7ad7c6d0a3ea844d55 /lib/querypath/src/QueryPath/IOException.php | |
parent | c5bcf8f74fb80b7e163663845b0d6e35cabface3 (diff) |
* Motor Sport Magazine feed provider
Diffstat (limited to 'lib/querypath/src/QueryPath/IOException.php')
-rw-r--r-- | lib/querypath/src/QueryPath/IOException.php | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/querypath/src/QueryPath/IOException.php b/lib/querypath/src/QueryPath/IOException.php new file mode 100644 index 0000000..b23b381 --- /dev/null +++ b/lib/querypath/src/QueryPath/IOException.php @@ -0,0 +1,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); + } +} |