logo       

4143 - trunk/Template/src/syntax_trees/ast/interfaces [eZComponents: Trunk]: msg#00316

web.ezcomponents.cvs

Subject: 4143 - trunk/Template/src/syntax_trees/ast/interfaces [eZComponents: Trunk]

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>
Google Custom Search

News | FAQ | advertise