classes/phing/BuildException.php

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

author
Andreas Aderhold
package
phing
version
$Revision: 552 $

\BuildException

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

Extends from
\Exception
author
Andreas Aderhold
package
phing
version
$Revision: 552 $

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(  $p1,  $p2 = null,  $p3 = null ) :
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
$p2
$p3
methodpublic  __toString( ) :
Inherited from:
methodpublic  getCause( ) : \Exception
Gets the cause exception.
Returns
Type Description
\Exception
methodpublic  getCode( ) :
finalInherited from:
methodpublic  getFile( ) :
finalInherited from:
methodpublic  getLine( ) :
finalInherited from:
methodpublic  getLocation( ) : \Location
Gets the location of error in XML file.
Returns
Type Description
\Location
methodpublic  getMessage( ) :
finalInherited from:
methodpublic  getPrevious( ) :
finalInherited from:
methodpublic  getTrace( ) :
finalInherited from:
methodpublic  getTraceAsString( ) :
finalInherited from:
methodpublic  setLocation( \Locaiton $loc ) :
Sets the location of error in XML file.
Parameters
Name Type Description
$loc \Locaiton
Documentation was generated by DocBlox 0.13.1.