Name

FolderClosedException

Synopsis

This exception is thrown when a Folder method has failed due to a folder having been prematurely closed. After this exception is thrown the Folder in question can be regarded as closed, and dependent objects may become invalid.

                  Type Of
public class FolderClosedException extends MessagingException {
// Public Constructors
   public FolderClosedException( Folder folder);  
   public FolderClosedException(Folder folder, 
        String message);  
// Public Instance Methods
   public Folder getFolder();  
}

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.