body = $body; $this->catches = array(); if ( $catches !== null ) { foreach ( $catches as $id => $catch ) { if ( !$catch instanceof ezcTemplateCatchAstNode ) { throw new ezcBaseValueException( "catches[$id]", $catch, 'ezcTemplateCatchAstNode' ); } $this->catches[] = $catch; } } } } ?>