Folder.list behaviour
What is the rationale behind POP3Folder.list always throwing a MessagingException? This makes it inconvenient when creating an application that is supposed to work against either IMAP/POP (sure one can handle the exception, but the exception thrown in this case seems useless). The Folder.list method documentation indicates that the method returns an empty array if no children are found. Based upon that principle shouldn't POP3Folder.list also return an empty array rather than throw an exception?
Rakesh

