# parser/ExpatParseException.php

This class throws errors for Expat, the XML processor.

Author
  Andreas Aderhold, andi@binarycloud.com
Package
  phing.parser
Version
  $Revision: 526 $ $Date: 2009-08-11 14:11:17 +0200 (Tue, 11 Aug 2009) $

## \ExpatParseException
jump to top

Package: phing\parser

This class throws errors for Expat, the XML processor.

Parent(s)
  \BuildException < \Exception
Author
  Andreas Aderhold, andi@binarycloud.com
Version
  $Revision: 526 $ $Date: 2009-08-11 14:11:17 +0200 (Tue, 11 Aug 2009) $

### Properties

`\Exception $cause= ''`
inherited

The nested "cause" exception.

Inherited from: \BuildException::$cause
Details

Type
  \Exception
Inherited_from
  \BuildException::$cause

`\Location $location= ''`
inherited

Location in the xml file.

Inherited from: \BuildException::$location
Details

Type
  \Location
Inherited_from
  \BuildException::$location

### Methods

`__construct( $p1, $p2 = null, $p3 = null ) : void`
inherited

Construct a BuildException.

Inherited from: \BuildException::__construct()

Supported signatures: throw new BuildException($causeExc); throw new BuildException($msg); throw new Buildexception($causeExc, $loc); throw new BuildException($msg, $causeExc); throw new BuildException($msg, $loc); throw new BuildException($msg, $causeExc, $loc);

Parameters

Name | Type | Description
--- | --- | ---
$p1 |  |
$p2 |  |
$p3 |  |

`__toString( ) : void`
inherited

Inherited from: \Exception::__toString()
`getCause( ) : \Exception`
inherited

Gets the cause exception.

Inherited from: \BuildException::getCause()
Returns

Type | Description
--- | ---
\Exception |

`getCode( ) : void`
final inherited

Inherited from: \Exception::getCode()
`getFile( ) : void`
final inherited

Inherited from: \Exception::getFile()
`getLine( ) : void`
final inherited

Inherited from: \Exception::getLine()
`getLocation( ) : \Location`
inherited

Gets the location of error in XML file.

Inherited from: \BuildException::getLocation()
Returns

Type | Description
--- | ---
\Location |

`getMessage( ) : void`
final inherited

Inherited from: \Exception::getMessage()
`getPrevious( ) : void`
final inherited

Inherited from: \Exception::getPrevious()
`getTrace( ) : void`
final inherited

Inherited from: \Exception::getTrace()
`getTraceAsString( ) : void`
final inherited

Inherited from: \Exception::getTraceAsString()
`setLocation( \Locaiton $loc ) : void`
inherited

Sets the location of error in XML file.

Inherited from: \BuildException::setLocation()
Parameters

Name | Type | Description
--- | --- | ---
$loc | \Locaiton |

Documentation was generated by DocBlox 0.15.1.