Hi Matthew,

> I'd like to be able to detect ReferenceExceptions (and
> other errors) that happen during a merge operation. 
> At the moment they appear in the velocity.log, but I'd
> like to be able to display them to the user.  At the
> very least I'd like to be able to detect that they
> have occurred so that I can put up a message telling
> them to check the log for error details.  So far I've
> been unable to work out how to do this, can anybody
> give me any pointers ?

You can't detect ReferenceException because it is never thrown, but I
think EventCartridge will help do what you want.
    
http://jakarta.apache.org/velocity/developer-guide.html#EventCartridge%20and%20Event%20Handlers

Best regards,
-- Shinobu Kawai

--
Shinobu Kawai <[EMAIL PROTECTED]>


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to