Package javax.mail

Examples of javax.mail.FolderClosedException


    // *************************************************************************
    // 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
View Full Code Here

TOP

Related Classes of javax.mail.FolderClosedException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.