Re: Infinite loop with CountDirective
"Eric B. Ridge" <[email protected]> Tue, 28 Mar 2006 18:19:30 -0500
| Newsgroups | gmane.comp.java.webmacro.user |
|---|---|
| Message-ID | <[email protected]> |
On Mar 28, 2006, at 5:26 PM, Keats Kirsch wrote: > This is what the DefaultEvaluationExceptionHandler does. Other > EEH's do different thing -- like throw an exception that bounces > you to the error template for the CrankyEEH. Right! I couldn't remember "EvaluationExceptionHandler" off the top of my head this morning! > This could be a bit tricky. Undefined evaluates to undefined. > (Expansion, or write, on undefined throws an exception.) Agreed that it could be tricky. But what use is UndefinedMaco.evaluate()? Why do we need it to not throw? > For now we should just take a look at any code that say "while > instanceof Macro ...". That's a good idea, for sure. eric ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642