|
4143 - trunk/Template/src/syntax_trees/ast/interfaces [eZComponents: Trunk]: msg#00316web.ezcomponents.cvs
Author: Raymond Bosman Date: 2006-11-30 11:05:08 +0100 (Thu, 30 Nov 2006) New Revision: 4143 Log: - Replaced exit() call with an ezcTemplateInternalException. Modified: trunk/Template/src/syntax_trees/ast/interfaces/parameterized_ast.php Modified: trunk/Template/src/syntax_trees/ast/interfaces/parameterized_ast.php =================================================================== --- trunk/Template/src/syntax_trees/ast/interfaces/parameterized_ast.php 2006-11-30 09:54:16 UTC (rev 4142) +++ trunk/Template/src/syntax_trees/ast/interfaces/parameterized_ast.php 2006-11-30 10:05:08 UTC (rev 4143) @@ -93,7 +93,7 @@ { if ( $parameter->typeHint == null ) { - exit( "The typehint of the class ". get_class( $parameter ) . " is null" ); + throw new ezcTemplateInternalException( "The typehint of the class ". get_class( $parameter ) . " is null." ); } if ( $first ) |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | 4142 - trunk/Template/tests [eZComponents: Trunk]: 00316, Raymond Bosman |
|---|---|
| Next by Date: | 4144 - in trunk/Graph: . src/driver tests/data/compare [eZComponents: Trunk]: 00316, Kore Nordmann |
| Previous by Thread: | 4142 - trunk/Template/tests [eZComponents: Trunk]i: 00316, Raymond Bosman |
| Next by Thread: | 4144 - in trunk/Graph: . src/driver tests/data/compare [eZComponents: Trunk]: 00316, Kore Nordmann |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |