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 Robert Burrell Donkin <ro...@gmail.com> on 2008/05/25 16:07:29 UTC

[mime4j] Revised Exception Hierarchy...?

ATM mime4j uses MimeException and 3 kinds of ParseException all of
which extend Exception. many methods also perform IO so there are also
IOExceptions thrown into the mix. i was wondering about tidying up
this hierarchy by making all ParseExceptions extend MimeException
which would extend IOException. i think this woud simplify the
exception handling without losing information.

opinions?

- robert

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: [mime4j] Revised Exception Hierarchy...?

Posted by Oleg Kalnichevski <ol...@apache.org>.
On Sun, 2008-05-25 at 15:07 +0100, Robert Burrell Donkin wrote:
> ATM mime4j uses MimeException and 3 kinds of ParseException all of
> which extend Exception. many methods also perform IO so there are also
> IOExceptions thrown into the mix. i was wondering about tidying up
> this hierarchy by making all ParseExceptions extend MimeException
> which would extend IOException. i think this woud simplify the
> exception handling without losing information.
> 
> opinions?
> 

Big +1

Oleg

> - robert
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org