On Sat, 2009-01-10 at 22:00 +0100, Markus Wiederkehr wrote:
> You're gonna hate me..
> 
> With MIME4J-77 the decision was made to decouple MimeException from
> IOException and to introduce an adaptor class, MimeIOException. And
> yes, I agreed on that.
> 
> But now that I have worked with the current trunk a bit I am not so
> sure any more.
> 
> Because now all of a sudden one has to deal with MimeExceptions and
> MimeIOExceptions and I think to a novice user it's not clear why.
> 
> Robert argued that Mime4J is an I/O library and I/O libraries should
> throw IOExceptions. While I don't completely agree on that I would
> still prefer to go back to the way things were in 0.5. That is,
> MimeException extends IOException without an adaptor class.
> 
> All I'm saying is maybe we should reconsider this before we release
> 0.6 because afterwards its more difficult to change.
> 

Markus

I personally do not have a problem with the current design, but
admittedly I mostly use low level o.a.j.mime4j.parser classes. Ideally I
would prefer that those low level classes continue distinguishing
recoverable I/O and non-recoverable protocol, but will not stand in your
way if you are determined to do it differently.

Oleg


> Markus
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to