public interface MessageResultIterator extends Iterator<MessageResult>
Iterator which allows to access the MailboxException if one was thrown while try to lazy fetch the MessageResult's in batches| Modifier and Type | Method and Description |
|---|---|
MailboxException |
getException()
This method should get called after the
Iterator.hasNext() method returns
false. |
MailboxException getException()
Iterator.hasNext() method returns
false.
If it does not return null an error was thrown before while
try to lazy fetch th next batch of MessageResult'sCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.