Jason Webb wrote:
Are you proposing that we add throws clauses to MailRepository during this change? What would you throw? We just need a nested exception. Choices
include:


 - javax.mail.MessagingException
 - org.apache.avalon.framework.Cascading*
 - org.apache.commons.lang.exception.*

Javadocs are below.

My current favourite would be to use javax.mail.MessagingException. This is because when we finally implement JavaMail storage I think that these are the exceptions the storage implementations should be throwing. JavaMail already supports the the following: "AuthenticationFailedException, FolderClosedException, FolderNotFoundException, IllegalWriteException, MessageRemovedException, MethodNotSupportedException, NoSuchProviderException, ParseException, ReadOnlyFolderException, SearchException, SendFailedException, StoreClosedException "

Agreed.


--
Serge Knystautas
President
Lokitech >> software . strategy . design >> http://www.lokitech.com/
p. 1.301.656.5501
e. [EMAIL PROTECTED]


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to