BuildException.php

Show: inherited
Table of Contents

BuildException is for when things go wrong in a build execution.

Author
Andreas Aderhold  
Package
phing  
Version
$Id$  

\BuildException

Package: phing

BuildException is for when things go wrong in a build execution.

Parent(s)
\Exception
Children
\ExpatParseException
Author
Andreas Aderhold  
Version
$Id$  

Properties

Propertyprotected\Exception  $cause= ''

The nested "cause" exception.

Details
Type
\Exception
Propertyprotected\Location  $location= ''

Location in the xml file.

Details
Type
\Location

Methods

methodpublic__construct( \Exception | string $p1, \Location | \Exception | null $p2 = null, \Location | null $p3 = null ) : void

Construct a BuildException.

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 \Exception | string
$p2 \Location | \Exception | null
$p3 \Location | null
methodpublic__toString( ) : void

methodpublicgetCause( ) : \Exception

Gets the cause exception.

Returns
Type Description
\Exception
methodpublicgetCode( ) : void
final

methodpublicgetFile( ) : void
final

methodpublicgetLine( ) : void
final

methodpublicgetLocation( ) : \Location

Gets the location of error in XML file.

Returns
Type Description
\Location
methodpublicgetMessage( ) : void
final

methodpublicgetPrevious( ) : void
final

methodpublicgetTrace( ) : void
final

methodpublicgetTraceAsString( ) : void
final

methodpublicsetLocation( \Location $loc ) : void

Sets the location of error in XML file.

Parameters
Name Type Description
$loc \Location
Documentation was generated by DocBlox 0.18.1.