Name

FolderNotFoundException

Synopsis

This exception is thrown when methods of the Folder class are invoked on a folder that does not exist within the message store.

                  
public class FolderNotFoundException extends MessagingException {
// Public Constructors
   public FolderNotFoundException();  
   public FolderNotFoundException( Folder folder);               // 1.2
   public FolderNotFoundException( String s, Folder folder);  
   public FolderNotFoundException( Folder folder, String s);     // 1.2
                  // Public Instance Methods
   public Folder getFolder();                                    // default:null
}

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.