MCPcopy Create free account
hub / github.com/M66B/FairEmail / checkOpened

Method checkOpened

app/src/main/java/com/sun/mail/imap/IMAPFolder.java:452–464  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

450 * ASSERT: Must be called with this folder's synchronization lock held.
451 */
452 protected void checkOpened() throws FolderClosedException {
453 assert Thread.holdsLock(this);
454 if (!opened) {
455 if (reallyClosed)
456 throw new IllegalStateException(
457 "This operation is not allowed on a closed folder"
458 );
459 else // Folder was closed "implicitly"
460 throw new FolderClosedException(this,
461 "Lost folder connection to server"
462 );
463 }
464 }
465
466 /*
467 * Check that the given message number is within the range

Callers 15

fetchMethod · 0.95
setFlagsMethod · 0.95
getMessageMethod · 0.95
getMessagesMethod · 0.95
addMessagesMethod · 0.95
copymoveMessagesMethod · 0.95
copymoveUIDMessagesMethod · 0.95
expungeMethod · 0.95
searchMethod · 0.95
getSortedMessagesMethod · 0.95
getMessageByUIDMethod · 0.95
getMessagesByUIDMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected