A small enhancement to exception management. I hope I'm done now!!
Vincenzo > -----Original Message----- > From: Vincenzo Gianferrari Pini > [mailto:[EMAIL PROTECTED] > Sent: gioved� 12 giugno 2003 19.22 > To: James Developers List > Subject: [no virus] [PATCH]AttachmentFileNameIs relies on new > matcher/mailet exception handler (was [PATCH] AttachmentFileNameIs > catches all exceptions) > > > The overall catch now rethrows a MessagingException, to be > consistent with the new matcher/mailet exception handling. > > Vincenzo > > > > -----Original Message----- > > From: Noel J. Bergman [mailto:[EMAIL PROTECTED] > > Sent: luned� 9 giugno 2003 1.55 > > To: James Developers List > > Subject: RE: [no virus] [PATCH] AttachmentFileNameIs catches all > > exceptions > > > > > > Based upon the current discussions, perhaps we should defer this patch? > > I'll also leave it for you to apply when you get your account next week. > > > > --- Noel > > > > -----Original Message----- > > From: Vincenzo Gianferrari Pini > > [mailto:[EMAIL PROTECTED] > > Sent: Saturday, June 07, 2003 16:54 > > To: List James-Dev > > Subject: [no virus] [PATCH] AttachmentFileNameIs catches all exceptions > > > > > > AttachmentFileNameIs was throwing a "java.io.IOException: Unknown > > encoding: > > xxx" and other exceptions when processing malformed messages. > Now catches > > any Throwable, logs it and returns null (no match). > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > >
AttachmentFileNameIs.zip
Description: Macintosh archive
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
