Path

ez components / documentation / api reference / latest / phpgenerator


eZ Components latest

PhpGenerator: ezcPhpGeneratorFlowException

[ Tutorial ] [ Class tree ] [ Element index ] [ ChangeLog ] [ Credits ]

Class: ezcPhpGeneratorFlowException

Flow exceptions are thrown when control structures like if and while are closed out of order. [source]

Parents

Exception
   |
   --ezcBaseException
      |
      --ezcPhpGeneratorException
         |
         --ezcPhpGeneratorFlowException

Inherited Member Variables

From ezcBaseException:
public  ezcBaseException::$originalMessage
From Exception (Internal Class):
protected  $code
protected  $file
protected  $line
protected  $message
private  $string
private  $trace

Method Summary

public ezcPhpGeneratorFlowException __construct( $expectedFlow, $calledFlow )
Constructs a new flow exception.

Inherited Methods

From ezcPhpGeneratorException :
public void ezcPhpGeneratorException::__construct()
Constructs a new ezcPhpGeneratorException with error message $message.
From ezcBaseException :
public ezcBaseException ezcBaseException::__construct()
Constructs a new ezcBaseException with $message
From Exception (Internal Class) :
public Exception constructor __construct ( $message, $code )
public void getCode ( )
public void getFile ( )
public void getLine ( )
public void getMessage ( )
public void getTrace ( )
public void getTraceAsString ( )
public void __clone ( )
public void __toString ( )

Methods

__construct

ezcPhpGeneratorFlowException __construct( string $expectedFlow, string $calledFlow )
Constructs a new flow exception.
$expectedFlow is the name of the control structure you expected the end of and $calledFlow is the actual structure received.

Parameters

Name Type Description
$expectedFlow string  
$calledFlow string  

Redefinition of

Method Description
ezcPhpGeneratorException::__construct() Constructs a new ezcPhpGeneratorException with error message $message.

Last updated: Mon, 21 Dec 2009