This class throws errors for Expat, the XML processor.

author Andreas Aderhold, andi@binarycloud.com
version $Id$
package phing.parser

 Methods

Construct a BuildException.

__construct(\Exception | string $p1, \Location | \Exception | null $p2, \Location | null $p3) 
Inherited

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);

inherited_from \BuildException::__construct()

Parameters

$p1

\Exceptionstring

$p3

\Locationnull

Gets the cause exception.

getCause() : \Exception
Inherited
inherited_from \BuildException::getCause()

Returns

Gets the location of error in XML file.

getLocation() : \Location
Inherited
inherited_from \BuildException::getLocation()

Returns

Sets the location of error in XML file.

setLocation(\Location $loc) 
Inherited
inherited_from \BuildException::setLocation()

Parameters

$loc

\Location

 Properties

 

$cause : \Exception
Inherited
inherited_from \BuildException::$$cause
 

$location : \Location
Inherited
inherited_from \BuildException::$$location