Class QueryPathParseException

(line 3907)

Description

Exception
   |
   --QueryPathException
      |
      --QueryPathParseException

Located in File: /src/QueryPath/QueryPath.php

Exception indicating that a parser has failed to parse a file.

This will report parser warnings as well as parser errors. It should only be thrown, though, under error conditions.



Classes extended from QueryPathParseException:
QueryPathIOException
Exception indicating that a parser has failed to parse a file.

Class Variables

Summary:

Class Constants

Summary:

ERR_MSG_FORMAT = 'Parse error in %s on line %d column %d: %s (%d)' (line 3908)

WARN_MSG_FORMAT = 'Parser warning in %s on line %d column %d: %s (%d)' (line 3909)

Method Detail

Summary:
static void initializeFromError ( $code,  $str,  $file,  $line,  $cxt)
QueryPathParseException __construct ([ $msg = ''], [ $code = 0], [ $file = NULL], [ $line = NULL])

Static Method initializeFromError (line 3929)

void initializeFromError( $code, $str, $file, $line, $cxt)

Overridden in child classes as:

QueryPathIOException::initializeFromError()

Parameters

  • $code:
  • $str:
  • $file:
  • $line:
  • $cxt:

Info

  • access - public

Constructor __construct (line 3911)

QueryPathParseException __construct( [ $msg = ''], [ $code = 0], [ $file = NULL], [ $line = NULL])

Parameters

  • $msg:
  • $code:
  • $file:
  • $line:

Info

  • access - public

Inherited Variables

Inherited Class Variable Summary

Inherited Methods

Inherited Method Summary


Documentation generated on Sun, 25 Jul 2010 16:09:11 -0500 by phpDocumentor 1.4.3