You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Vincenzo Gianferrari Pini <vi...@praxis.it> on 2003/06/13 14:38:48 UTC

[no virus] RE: [PATCH]AttachmentFileNameIs relies on new matcher/mailet exception handler (was [PATCH] AttachmentFileNameIs catches all exceptions)

A small enhancement to exception management.

I hope I'm done now!!

Vincenzo


> -----Original Message-----
> From: Vincenzo Gianferrari Pini
> [mailto:vincenzo.gianferraripini@praxis.it]
> 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:noel@devtech.com]
> > 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:vincenzo.gianferraripini@praxis.it]
> > 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: james-dev-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: james-dev-help@jakarta.apache.org
> > 
>