different errors - why ?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Sharona_Feinberg
Posted On:   Sunday, December 16, 2001 04:09 AM

Hi , I am using POP3 protocol => I use store.connect + folder.open at the beginning - after having the connection open , I use it to manipulate the folder. after a while , I get : FolderClosedException - this is when the folder has been closed after an idle timeout that is configured by the mail server -than I know that I need to reopen the folder. BUT I also get : IllegalStateException OR MessagingException for BOTH the folder is closed and I need to reopen the folder. why ? when do I get each of the errors ? thanks , in advance , Sharona    More>>

Hi ,
I am using POP3 protocol =>

I use store.connect + folder.open
at the beginning - after having the connection open , I use it to manipulate the folder.


after a while , I get : FolderClosedException
- this is when the folder has been closed after an idle timeout that is configured by the mail server -than I know that I need to reopen the folder.



BUT I also get :
IllegalStateException OR
MessagingException

for BOTH the folder is closed and I need to reopen the folder.



why ? when do I get each of the errors ?


thanks , in advance , Sharona

   <<Less
About | Sitemap | Contact