// *************************************************************************
// If Folder is not opened is read-write mode then raise an exception
if (0==(iOpenMode&READ_WRITE)) {
if (DebugFile.trace) DebugFile.decIdent();
throw new FolderClosedException(this, "Folder is not open is READ_WRITE mode");
}
if ((0==(iOpenMode&MODE_MBOX)) && (0==(iOpenMode&MODE_BLOB))) {
if (DebugFile.trace) DebugFile.decIdent();
throw new FolderClosedException(this, "Folder is not open in MBOX nor BLOB mode");
}
} // checkAppendPreconditions