--- Shinobu Kawai <[EMAIL PROTECTED]> wrote: > > Hi Matthew, > > > I'd like to be able to detect ReferenceExceptions > (and > > other errors) that happen during a merge > operation.
> 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 > OK, at the risk of sounding dumb I'm not entirely sure how this helps. The only thing that sounds close to me is the ReferenceInsertionEventHandler. Is your idea to implement a referenceInsert handler and check every insertion event to see whether the object is null ? Are there any other conditions that might generate errors but not throw an exception ? I guess what I really wanted was some way of alerting the users to all of these "silent" errors - ie exceptions that don't get thrown but that appear only in the log. Find local movie times and trailers on Yahoo! Movies. http://au.movies.yahoo.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
